summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--languages.toml2
-rw-r--r--runtime/queries/dockerfile/highlights.scm5
2 files changed, 5 insertions, 2 deletions
diff --git a/languages.toml b/languages.toml
index 175037be..8d86afe4 100644
--- a/languages.toml
+++ b/languages.toml
@@ -1182,7 +1182,7 @@ language-server = { command = "docker-langserver", args = ["--stdio"] }
[[grammar]]
name = "dockerfile"
-source = { git = "https://github.com/camdencheek/tree-sitter-dockerfile", rev = "7af32bc04a66ab196f5b9f92ac471f29372ae2ce" }
+source = { git = "https://github.com/camdencheek/tree-sitter-dockerfile", rev = "8ee3a0f7587b2bd8c45c8cb7d28bd414604aec62" }
[[language]]
name = "git-commit"
diff --git a/runtime/queries/dockerfile/highlights.scm b/runtime/queries/dockerfile/highlights.scm
index 5a945fb9..cdbf807c 100644
--- a/runtime/queries/dockerfile/highlights.scm
+++ b/runtime/queries/dockerfile/highlights.scm
@@ -48,4 +48,7 @@
((variable) @constant
(#match? @constant "^[A-Z][A-Z_0-9]*$"))
-
+[
+ (param)
+ (mount_param)
+] @constant