mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
fixup: use any-of instead of vim-match
This commit is contained in:
parent
1e74c34b66
commit
274370e703
1 changed files with 2 additions and 2 deletions
|
|
@ -43,9 +43,9 @@
|
|||
] @punctuation.delimiter
|
||||
|
||||
((identifier) @boolean
|
||||
(#vim-match? @boolean "^(true|false)$"))
|
||||
(#any-of? @boolean "true" "false"))
|
||||
((identifier) @variable.builtin
|
||||
(#vim-match? @variable.builtin "^(this|\$event|null)$"))
|
||||
(#any-of? @variable.builtin "this" "\$event" "null"))
|
||||
|
||||
[
|
||||
"-"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue