mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 12:30:05 +08:00
14 lines
383 B
Scheme
14 lines
383 B
Scheme
|
(comment) @comment
|
||
|
;; asm_statement if asm ever highlighted :)
|
||
|
|
||
|
;; #include <...>
|
||
|
(hash_statement) @c
|
||
|
|
||
|
;; regex for the methods defined in `re` module
|
||
|
((call_expression
|
||
|
function: (selector_expression
|
||
|
field: (identifier) @_re)
|
||
|
arguments: (argument_list
|
||
|
(raw_string_literal) @regex (#offset! @regex 0 2 0 -1)))
|
||
|
(#any-of? @_re "regex_base" "regex_opt" "compile_opt"))
|