aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVitalii Solodilov2023-05-12 01:29:06 +0000
committerGitHub2023-05-12 01:29:06 +0000
commit5938e2c0dc9465229758d1c2997a4857555d34cc (patch)
treefd87be4b52af125337ced71025afbce20d3aa2a3
parent3b8c15618f51889ffd2f2f4be32f8404c1517956 (diff)
fix: update upstream tree-sitter-dockerfile (#6895)
* fix: update upstream tree-sitter-dockerfile Fixes: #6797 * fix: review * fix: review
-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