mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 16:00:07 +08:00
14 lines
600 B
Scheme
Vendored
14 lines
600 B
Scheme
Vendored
(comment) @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)] @regex (#offset! @regex 0 1 0 -1)))
|