mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-12 08:20:05 -04:00
feat(dockerfile): adapt for parser update
This commit is contained in:
parent
bc80862298
commit
d8bf42b262
4 changed files with 18 additions and 3 deletions
|
|
@ -36,6 +36,15 @@
|
|||
|
||||
(double_quoted_string) @string
|
||||
|
||||
[
|
||||
(heredoc_marker)
|
||||
(heredoc_end)
|
||||
] @label
|
||||
|
||||
((heredoc_block
|
||||
(heredoc_line) @string)
|
||||
(#set! "priority" 90))
|
||||
|
||||
(expansion
|
||||
[
|
||||
"$"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,12 @@
|
|||
((comment) @injection.content
|
||||
(#set! injection.language "comment"))
|
||||
|
||||
((shell_command) @injection.content
|
||||
((shell_command
|
||||
(shell_fragment) @injection.content)
|
||||
(#set! injection.language "bash")
|
||||
(#set! injection.combined))
|
||||
|
||||
((run_instruction
|
||||
(heredoc_block) @injection.content)
|
||||
(#set! injection.language "bash")
|
||||
(#set! injection.include-children))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue