fix for issue #2633

This commit is contained in:
John Higgins 2023-08-02 00:04:55 -07:00
parent 9bf74d687f
commit b1fbcc8a6e
No known key found for this signature in database
GPG Key ID: 192DF5D301BD714C
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