mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-06 13:30:01 -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
|
|
@ -57,9 +57,9 @@
|
|||
(namespace_name) @namespace
|
||||
|
||||
((property_name) @type.definition
|
||||
(#match? @type.definition "^--"))
|
||||
(#lua-match? @type.definition "^[-][-]"))
|
||||
((plain_value) @type
|
||||
(#match? @type "^--"))
|
||||
(#lua-match? @type "^[-][-]"))
|
||||
|
||||
[
|
||||
(string_value)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue