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:
parent
dba22c60ed
commit
34766e242a
1 changed files with 1 additions and 1 deletions
|
@ -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"] }
|
||||||
|
|
Loading…
Add table
Reference in a new issue