Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/nu/injections.scm')
-rw-r--r--runtime/queries/nu/injections.scm7
1 files changed, 6 insertions, 1 deletions
diff --git a/runtime/queries/nu/injections.scm b/runtime/queries/nu/injections.scm
index 30804d65..690ff9a8 100644
--- a/runtime/queries/nu/injections.scm
+++ b/runtime/queries/nu/injections.scm
@@ -1,2 +1,7 @@
((comment) @injection.content
- (#set! injection.language "comment")) \ No newline at end of file
+ (#set! injection.language "comment"))
+
+(command
+ head: (cmd_identifier) @_command (#any-of? @_command "jq" "jaq")
+ arg: (val_string) @injection.content
+ (#set! injection.language "jq"))