Remove redunant capture.

This commit is contained in:
Aleksei Abakumkin 2021-08-18 09:49:25 +03:00 committed by Stephan Seitz
parent 0e4c2c5801
commit 39ecd66240

View file

@ -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)