mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 03:10:04 -04:00
refactor: replace some match & vim-match usages
This commit is contained in:
parent
9ea7559ea9
commit
05fe2c38a3
7 changed files with 15 additions and 18 deletions
|
|
@ -75,8 +75,7 @@
|
|||
(_ (_ (_ (_ (identifier_ref) @definition.var))))
|
||||
(_ (_ (_ (_ (_ (identifier_ref) @definition.var)))))
|
||||
]
|
||||
(#vim-match? @definition.var "^(self|pc|stack)$")
|
||||
)
|
||||
(#any-of? @definition.var "self" "pc" "stack"))
|
||||
|
||||
; References
|
||||
(identifier_ref) @reference
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue