We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 077c901 commit 99cea8cCopy full SHA for 99cea8c
runtime/queries/bash/injections.scm
@@ -17,3 +17,22 @@
17
(string (string_content) @injection.content)
18
]
19
(#set! injection.language "jq"))
20
+
21
+(command
22
+ name: (command_name (word) @_command (#eq? @_command "alias"))
23
+ argument: (concatenation
24
+ (word)
25
+ [
26
+ (raw_string) @injection.content
27
+ (string (string_content) @injection.content)
28
+ ])
29
+ (#set! injection.language "bash"))
30
31
32
+ name: (command_name (word) @_command (#any-of? @_command "eval" "trap"))
33
+ .
34
+ argument: [
35
36
37
+ ]
38
0 commit comments