mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-15 09:50:04 -04:00
fix(dockerfile): bash injection on run instructions
This commit is contained in:
parent
58c8682290
commit
dac6efbaff
2 changed files with 8 additions and 1 deletions
|
|
@ -2,4 +2,5 @@
|
||||||
(#set! injection.language "comment"))
|
(#set! injection.language "comment"))
|
||||||
|
|
||||||
((shell_command) @injection.content
|
((shell_command) @injection.content
|
||||||
(#set! injection.language "bash"))
|
(#set! injection.language "bash")
|
||||||
|
(#set! injection.include-children))
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
FROM foo
|
||||||
|
RUN bar
|
||||||
|
# ^ bash
|
||||||
|
RUN \
|
||||||
|
baz
|
||||||
|
# ^ bash
|
||||||
Loading…
Add table
Add a link
Reference in a new issue