mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 11:36:54 -04:00
13 lines
336 B
Scheme
13 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
|