Skip to content

Commit

Permalink
fix: update upstream tree-sitter-dockerfile (helix-editor#6895)
Browse files Browse the repository at this point in the history
* fix: update upstream tree-sitter-dockerfile

Fixes: helix-editor#6797

* fix: review

* fix: review
  • Loading branch information
mcdoker18 authored and Schuyler Mortimer committed Jul 10, 2024
1 parent 483cb35 commit 5c0fafd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
5 changes: 4 additions & 1 deletion runtime/queries/dockerfile/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,7 @@
((variable) @constant
(#match? @constant "^[A-Z][A-Z_0-9]*$"))


[
(param)
(mount_param)
] @constant

0 comments on commit 5c0fafd

Please sign in to comment.