mirror of
https://github.com/helix-editor/helix.git
synced 2024-09-11 10:55:45 +03:00
Add regex injections into bash (#11112)
This commit is contained in:
parent
ec0bdb3976
commit
928e3f0d85
@ -5,4 +5,7 @@
|
|||||||
name: (command_name (word) @_command)
|
name: (command_name (word) @_command)
|
||||||
argument: (raw_string) @injection.content
|
argument: (raw_string) @injection.content
|
||||||
(#match? @_command "^[gnm]?awk$")
|
(#match? @_command "^[gnm]?awk$")
|
||||||
(#set! injection.language "awk"))
|
(#set! injection.language "awk"))
|
||||||
|
|
||||||
|
((regex) @injection.content
|
||||||
|
(#set! injection.language "regex"))
|
||||||
|
Loading…
Reference in New Issue
Block a user