Unnamed repository; edit this file 'description' to name the repository.
queries: inject all lines in a newline escaped RUN Dockerfile instruction as bash (#13845)
Kristoffer Plagborg Bak Sørensen 8 months ago
parent b9f980f · commit a9d51ef
-rw-r--r--runtime/queries/dockerfile/injections.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/runtime/queries/dockerfile/injections.scm b/runtime/queries/dockerfile/injections.scm
index 20396f1a..cf11bcfd 100644
--- a/runtime/queries/dockerfile/injections.scm
+++ b/runtime/queries/dockerfile/injections.scm
@@ -1,6 +1,7 @@
((comment) @injection.content
(#set! injection.language "comment"))
-([(shell_command) (shell_fragment)] @injection.content
- (#set! injection.language "bash"))
+((shell_command (shell_fragment) @injection.content)
+ (#set! injection.language "bash")
+ (#set! injection.combined))