mirror of https://github.com/helix-editor/helix
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
447 B
Scheme
15 lines
447 B
Scheme
((comment) @injection.content
|
|
(#set! injection.language "comment"))
|
|
|
|
|
|
(call_expression
|
|
(selector_expression) @_function
|
|
(#any-of? @_function "regexp.Match" "regexp.MatchReader" "regexp.MatchString" "regexp.Compile" "regexp.CompilePOSIX" "regexp.MustCompile" "regexp.MustCompilePOSIX")
|
|
(argument_list
|
|
.
|
|
[
|
|
(raw_string_literal)
|
|
(interpreted_string_literal)
|
|
] @injection.content
|
|
(#set! injection.language "regex")))
|