mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
Remove redunant capture.
This commit is contained in:
parent
0e4c2c5801
commit
39ecd66240
1 changed files with 3 additions and 3 deletions
|
|
@ -1,8 +1,8 @@
|
|||
(identifier) @variable
|
||||
|
||||
((identifier) @keyword @_p
|
||||
(#eq? @_p "value")
|
||||
(#has-ancestor? @_p accessor_declaration))
|
||||
((identifier) @keyword
|
||||
(#eq? @keyword "value")
|
||||
(#has-ancestor? @keyword accessor_declaration))
|
||||
|
||||
(method_declaration
|
||||
name: (identifier) @method)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue