Skip to content

Commit

Permalink
languages: add .dockerfile extension (#1330)
Browse files Browse the repository at this point in the history
Many folks use `.dockerfile` as an extension for dockerfiles in addition to plain `Dockerfile`. This change associates both file extensions with dockerfile syntax highlighting
  • Loading branch information
dylrich authored Dec 22, 2021
1 parent dba22c6 commit 34766e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ name = "dockerfile"
scope = "source.dockerfile"
injection-regex = "docker|dockerfile"
roots = ["Dockerfile"]
file-types = ["Dockerfile"]
file-types = ["Dockerfile", "dockerfile"]
comment-token = "#"
indent = { tab-width = 2, unit = " " }
language-server = { command = "docker-langserver", args = ["--stdio"] }
Expand Down

0 comments on commit 34766e2

Please sign in to comment.