mirror of https://github.com/helix-editor/helix
queries/dockerfile: injections for heredocs (#13852)
parent
930340e646
commit
d654a07d3d
|
@ -5,3 +5,12 @@
|
||||||
(#set! injection.language "bash")
|
(#set! injection.language "bash")
|
||||||
(#set! injection.combined))
|
(#set! injection.combined))
|
||||||
|
|
||||||
|
((run_instruction
|
||||||
|
(heredoc_block (heredoc_line) @injection.content . "\n" @injection.content))
|
||||||
|
(#set! injection.language "bash")
|
||||||
|
(#set! injection.combined))
|
||||||
|
|
||||||
|
((copy_instruction
|
||||||
|
(path (heredoc_marker)) . (path) @injection.filename
|
||||||
|
(heredoc_block (heredoc_line) @injection.content . "\n" @injection.content))
|
||||||
|
(#set! injection.combined))
|
||||||
|
|
Loading…
Reference in New Issue