Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/dockerfile/injections.scm')
| -rw-r--r-- | runtime/queries/dockerfile/injections.scm | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/runtime/queries/dockerfile/injections.scm b/runtime/queries/dockerfile/injections.scm index fae7e337..20396f1a 100644 --- a/runtime/queries/dockerfile/injections.scm +++ b/runtime/queries/dockerfile/injections.scm @@ -1,16 +1,6 @@ ((comment) @injection.content (#set! injection.language "comment")) -((shell_command (shell_fragment) @injection.content) - (#set! injection.language "bash") - (#set! injection.combined)) +([(shell_command) (shell_fragment)] @injection.content + (#set! injection.language "bash")) -((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)) |