mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-16 10:20:11 -04:00
Use #any-of? instead of #match? where posible
This commit is contained in:
parent
55c5620aa3
commit
c699cc2e47
9 changed files with 31 additions and 15 deletions
|
|
@ -58,7 +58,7 @@
|
|||
|
||||
; If the identifier is just "yield" or "outlet", it's a keyword
|
||||
((mustache_statement (identifier) @keyword)
|
||||
(#match? @keyword "yield|outlet"))
|
||||
(#any-of? @keyword "yield" "outlet"))
|
||||
|
||||
; Helpers are functions
|
||||
((helper_invocation helper: [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue