mirror of
https://github.com/helix-editor/helix.git
synced 2024-12-18 05:51:54 +04:00
dockerfile: bump tree-sitter grammar to gain support for heredocs (#12230)
This commit is contained in:
parent
fcded6ce1e
commit
cc3b77b584
@ -1706,7 +1706,7 @@ language-servers = [ "docker-langserver" ]
|
||||
|
||||
[[grammar]]
|
||||
name = "dockerfile"
|
||||
source = { git = "https://github.com/camdencheek/tree-sitter-dockerfile", rev = "8ee3a0f7587b2bd8c45c8cb7d28bd414604aec62" }
|
||||
source = { git = "https://github.com/camdencheek/tree-sitter-dockerfile", rev = "087daa20438a6cc01fa5e6fe6906d77c869d19fe" }
|
||||
|
||||
[[language]]
|
||||
name = "docker-compose"
|
||||
|
@ -19,6 +19,8 @@
|
||||
"SHELL"
|
||||
"MAINTAINER"
|
||||
"CROSS_BUILD"
|
||||
(heredoc_marker)
|
||||
(heredoc_end)
|
||||
] @keyword
|
||||
|
||||
[
|
||||
@ -35,7 +37,12 @@
|
||||
(image_digest
|
||||
"@" @punctuation.special))
|
||||
|
||||
(double_quoted_string) @string
|
||||
[
|
||||
(double_quoted_string)
|
||||
(single_quoted_string)
|
||||
(json_string)
|
||||
(heredoc_line)
|
||||
] @string
|
||||
|
||||
(expansion
|
||||
[
|
||||
|
Loading…
Reference in New Issue
Block a user