mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-24 09:20:06 +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
|