mirror of
https://github.com/helix-editor/helix.git
synced 2024-12-18 14:01:55 +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]]
|
[[grammar]]
|
||||||
name = "dockerfile"
|
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]]
|
[[language]]
|
||||||
name = "docker-compose"
|
name = "docker-compose"
|
||||||
|
@ -19,6 +19,8 @@
|
|||||||
"SHELL"
|
"SHELL"
|
||||||
"MAINTAINER"
|
"MAINTAINER"
|
||||||
"CROSS_BUILD"
|
"CROSS_BUILD"
|
||||||
|
(heredoc_marker)
|
||||||
|
(heredoc_end)
|
||||||
] @keyword
|
] @keyword
|
||||||
|
|
||||||
[
|
[
|
||||||
@ -35,7 +37,12 @@
|
|||||||
(image_digest
|
(image_digest
|
||||||
"@" @punctuation.special))
|
"@" @punctuation.special))
|
||||||
|
|
||||||
(double_quoted_string) @string
|
[
|
||||||
|
(double_quoted_string)
|
||||||
|
(single_quoted_string)
|
||||||
|
(json_string)
|
||||||
|
(heredoc_line)
|
||||||
|
] @string
|
||||||
|
|
||||||
(expansion
|
(expansion
|
||||||
[
|
[
|
||||||
|
Loading…
Reference in New Issue
Block a user