Add regex injections into bash (#11112)

pull/11159/head
David Else 4 months ago committed by GitHub
parent ec0bdb3976
commit 928e3f0d85
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -5,4 +5,7 @@
name: (command_name (word) @_command)
argument: (raw_string) @injection.content
(#match? @_command "^[gnm]?awk$")
(#set! injection.language "awk"))
(#set! injection.language "awk"))
((regex) @injection.content
(#set! injection.language "regex"))

Loading…
Cancel
Save