mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-11 10:03:39 +08:00
14 lines
336 B
Scheme
14 lines
336 B
Scheme
|
((predicate
|
||
|
name: (identifier) @_name
|
||
|
parameters: (parameters (string) @regex))
|
||
|
(#match? @_name "^#?(not-)?(match|vim-match)$")
|
||
|
(#offset! @regex 0 1 0 -1))
|
||
|
|
||
|
((predicate
|
||
|
name: (identifier) @_name
|
||
|
parameters: (parameters (string) @luap))
|
||
|
(#match? @_name "^#?(not-)?lua-match$")
|
||
|
(#offset! @luap 0 1 0 -1))
|
||
|
|
||
|
(comment) @comment
|