
The changes in #12148 were a bit radical - this restores some customizations we had like using "label" for captures and not highlighting the '#' or '?'/'!' parts differently. Also the highlighting for predicates we do (not) support has been restored.
10 lines
272 B
Scheme
10 lines
272 B
Scheme
((comment) @injection.content
|
|
(#set! injection.language "comment"))
|
|
|
|
((predicate
|
|
name: (identifier) @_name
|
|
parameters:
|
|
(parameters
|
|
(string (string_content) @injection.content)))
|
|
(#any-of? @_name "match" "not-match")
|
|
(#set! injection.language "regex"))
|