aboutsummaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'runtime')
-rw-r--r--runtime/queries/nix/injections.scm12
1 files changed, 8 insertions, 4 deletions
diff --git a/runtime/queries/nix/injections.scm b/runtime/queries/nix/injections.scm
index 718a9c1c5..c1593b91f 100644
--- a/runtime/queries/nix/injections.scm
+++ b/runtime/queries/nix/injections.scm
@@ -48,7 +48,8 @@
((string_fragment) @injection.content
(#set! injection.language "bash")))
]
- (#lua-match? @_path "^%a+Phase$"))
+ (#lua-match? @_path "^%a+Phase$")
+ (#set! injection.combined))
(binding
attrpath: (attrpath
@@ -61,7 +62,8 @@
((string_fragment) @injection.content
(#set! injection.language "bash")))
]
- (#lua-match? @_path "^pre%a+$"))
+ (#lua-match? @_path "^pre%a+$")
+ (#set! injection.combined))
(binding
attrpath: (attrpath
@@ -74,7 +76,8 @@
((string_fragment) @injection.content
(#set! injection.language "bash")))
]
- (#lua-match? @_path "^post%a+$"))
+ (#lua-match? @_path "^post%a+$")
+ (#set! injection.combined))
(binding
attrpath: (attrpath
@@ -87,7 +90,8 @@
((string_fragment) @injection.content
(#set! injection.language "bash")))
]
- (#lua-match? @_path "^script$"))
+ (#lua-match? @_path "^script$")
+ (#set! injection.combined))
(apply_expression
function: (_) @_func