mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-10 23:40:04 -04:00
perf: remove match where possible
This commit is contained in:
parent
654216eb04
commit
85330918f0
37 changed files with 104 additions and 113 deletions
|
|
@ -31,7 +31,7 @@
|
|||
(#not-has-parent? @_parent call_expression special_call_expression)))
|
||||
|
||||
((identifier) @variable.builtin
|
||||
(#match? @variable.builtin "^(err|macos|linux|windows)$"))
|
||||
(#any-of? @variable.builtin "err" "macos" "linux" "windows"))
|
||||
|
||||
(attribute_declaration) @attribute
|
||||
;; C: TODO: fixme make `C`.exten highlighted as variable.builtin
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue