mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-17 02:40:09 -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) @variable
|
||||||
|
|
||||||
((identifier) @keyword @_p
|
((identifier) @keyword
|
||||||
(#eq? @_p "value")
|
(#eq? @keyword "value")
|
||||||
(#has-ancestor? @_p accessor_declaration))
|
(#has-ancestor? @keyword accessor_declaration))
|
||||||
|
|
||||||
(method_declaration
|
(method_declaration
|
||||||
name: (identifier) @method)
|
name: (identifier) @method)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue