aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/bash
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/bash')
-rw-r--r--runtime/queries/bash/injections.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/queries/bash/injections.scm b/runtime/queries/bash/injections.scm
index 321c90ad..0fddb10f 100644
--- a/runtime/queries/bash/injections.scm
+++ b/runtime/queries/bash/injections.scm
@@ -1,2 +1,8 @@
((comment) @injection.content
(#set! injection.language "comment"))
+
+(command
+ name: (command_name (word) @_command)
+ argument: (raw_string) @injection.content
+ (#match? @_command "^[gnm]?awk$")
+ (#set! injection.language "awk")) \ No newline at end of file