mirror of
https://github.com/helix-editor/helix.git
synced 2025-10-06 00:13:28 +02:00
15 lines
470 B
Scheme
15 lines
470 B
Scheme
((comment) @injection.content
|
|
(#set! injection.language "comment"))
|
|
|
|
(command
|
|
name: (word) @_command (#any-of? @_command "jq" "jaq")
|
|
argument: [(double_quote_string) (single_quote_string)] @injection.content
|
|
(#set! injection.language "jq"))
|
|
|
|
(command
|
|
name: (word) @_command (#eq? @_command "nu")
|
|
argument: (word) @_flag (#match? @_flag "^-.*c$")
|
|
argument: [(single_quote_string) (double_quote_string)] @injection.content
|
|
(#set! injection.language "nu")
|
|
)
|