Merge pull request #2615 from einfachIrgendwer0815/feature_containerfile_mapping

Add `Containerfile` syntax mapping
pull/2580/head
Keith Hall 12 months ago committed by GitHub
commit 783d4877e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -11,6 +11,7 @@
## Syntaxes
- Associate `os-release` with `bash` syntax, see #2587 (@cyqsimon)
- Associate `Containerfile` with `Dockerfile` syntax, see #2606 (@einfachIrgendwer0815)
## Themes

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

Loading…
Cancel
Save