queries/dockerfile: injections for heredocs (#13852)

This commit is contained in:
Jonas Köhnen
2025-06-28 23:59:32 +02:00
committed by GitHub
parent 930340e646
commit d654a07d3d

View File

@@ -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))