Add `Containerfile` syntax mapping

This commit is contained in:
einfachIrgendwer0815 2023-07-02 13:50:37 +02:00
parent 8676bbf97f
commit c46c53320b
No known key found for this signature in database
GPG Key ID: 58D55E5F117DA873
1 changed files with 4 additions and 0 deletions

View File

@ -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