aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Richardson2021-12-22 00:45:02 +0000
committerGitHub2021-12-22 00:45:02 +0000
commit34766e242ab0a059c8313b068b98d275e2a879b8 (patch)
tree74b1d17f2539fbe405baf0aa2c7923283304b259
parentdba22c60ed7fc336ad619b1246333f0116b47bcd (diff)
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
-rw-r--r--languages.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/languages.toml b/languages.toml
index 50c6f7f9..54fa63ee 100644
--- a/languages.toml
+++ b/languages.toml
@@ -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"] }