Merge pull request #2638 from johnmatthiggins/master

fix for issue #2633
This commit is contained in:
David Peter authored and GitHub committed 2023-08-02 15:24:02 +02:00
commit 6dd8b28b0d
2 files changed
+5

No files matched your search

+1
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
+4
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