languages: add .dockerfile extension (#1330)

Many folks use `.dockerfile` as an extension for dockerfiles in addition to plain `Dockerfile`. This change associates both file extensions with dockerfile syntax highlighting
This commit is contained in:
Dylan Richardson 2021-12-21 18:45:02 -06:00 committed by GitHub
parent dba22c60ed
commit 34766e242a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -473,7 +473,7 @@ name = "dockerfile"
scope = "source.dockerfile" scope = "source.dockerfile"
injection-regex = "docker|dockerfile" injection-regex = "docker|dockerfile"
roots = ["Dockerfile"] roots = ["Dockerfile"]
file-types = ["Dockerfile"] file-types = ["Dockerfile", "dockerfile"]
comment-token = "#" comment-token = "#"
indent = { tab-width = 2, unit = " " } indent = { tab-width = 2, unit = " " }
language-server = { command = "docker-langserver", args = ["--stdio"] } language-server = { command = "docker-langserver", args = ["--stdio"] }