diff --git a/CHANGELOG.md b/CHANGELOG.md index 7b0309a3..3a0915d8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ - Associate `os-release` with `bash` syntax, see #2587 (@cyqsimon) - Associate `Containerfile` with `Dockerfile` syntax, see #2606 (@einfachIrgendwer0815) - Replaced quotes with double quotes so fzf integration example script works on windows and linux. see #2095 (@johnmatthiggins) +- Associate `ksh` files with `bash` syntax, see #2633 (@johnmatthiggins) ## Themes diff --git a/src/syntax_mapping.rs b/src/syntax_mapping.rs index e18b5642..cc69f927 100644 --- a/src/syntax_mapping.rs +++ b/src/syntax_mapping.rs @@ -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