Merge pull request #2638 from johnmatthiggins/master

fix for issue #2633
This commit is contained in:
David Peter 2023-08-02 15:24:02 +02:00 committed by GitHub
commit 6dd8b28b0d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View file

@ -12,6 +12,7 @@
- Associate `os-release` with `bash` syntax, see #2587 (@cyqsimon)
- Associate `Containerfile` with `Dockerfile` syntax, see #2606 (@einfachIrgendwer0815)
- Associate `ksh` files with `bash` syntax, see #2633 (@johnmatthiggins)
## Themes

View file

@ -90,6 +90,10 @@ impl<'a> SyntaxMapping<'a> {
.insert("Containerfile", MappingTarget::MapTo("Dockerfile"))
.unwrap();
mapping
.insert("*.ksh", MappingTarget::MapTo("Bourne Again Shell (bash)"))
.unwrap();
// Nginx and Apache syntax files both want to style all ".conf" files
// see #1131 and #1137
mapping