mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-14 01:10:02 -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
|
|
@ -82,7 +82,10 @@
|
|||
(#lua-match? @keyword.return "^return"))
|
||||
|
||||
((opcode) @conditional
|
||||
(#match? @conditional "^(if|cmp)"))
|
||||
(#lua-match? @conditional "^if"))
|
||||
|
||||
((opcode) @conditional
|
||||
(#lua-match? @conditional "^cmp"))
|
||||
|
||||
((opcode) @exception
|
||||
(#lua-match? @exception "^throw"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue