mirror of
https://github.com/helix-editor/helix
synced 2026-08-04 14:27:07 +02:00
Co-authored-by: Kristoffer Plagborg Bak Sørensen <57013304+kpbaks@users.noreply.github.com>
12 lines
281 B
Scheme
12 lines
281 B
Scheme
((comment) @injection.content
|
|
(#set! injection.language "comment"))
|
|
|
|
; e.g. `echo hello123 | findstr /R "[a-z]*[0-9][0-9][0-9]"`
|
|
(cmd
|
|
(command_name) @_command
|
|
(argument_list
|
|
(string) @injection.content)
|
|
(#eq? @_command "findstr")
|
|
(#set! injection.language "regex"))
|
|
|