mirror of
https://github.com/helix-editor/helix.git
synced 2025-10-06 00:13:28 +02:00
queries/dockerfile: injections for heredocs (#13852)
This commit is contained in:
@@ -5,3 +5,12 @@
|
||||
(#set! injection.language "bash")
|
||||
(#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))
|
||||
|
Reference in New Issue
Block a user