mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-14 17:30:08 -04:00
@function.method -> @method
This commit is contained in:
parent
6effdfbdc4
commit
05798284ff
1 changed files with 6 additions and 6 deletions
|
|
@ -35,22 +35,22 @@
|
||||||
(function_declaration
|
(function_declaration
|
||||||
name: (identifier) @function)
|
name: (identifier) @function)
|
||||||
(method_definition
|
(method_definition
|
||||||
name: (property_identifier) @function.method)
|
name: (property_identifier) @method)
|
||||||
|
|
||||||
(pair
|
(pair
|
||||||
key: (property_identifier) @function.method
|
key: (property_identifier) @method
|
||||||
value: (function))
|
value: (function))
|
||||||
(pair
|
(pair
|
||||||
key: (property_identifier) @function.method
|
key: (property_identifier) @method
|
||||||
value: (arrow_function))
|
value: (arrow_function))
|
||||||
|
|
||||||
(assignment_expression
|
(assignment_expression
|
||||||
left: (member_expression
|
left: (member_expression
|
||||||
property: (property_identifier) @function.method)
|
property: (property_identifier) @method)
|
||||||
right: (arrow_function))
|
right: (arrow_function))
|
||||||
(assignment_expression
|
(assignment_expression
|
||||||
left: (member_expression
|
left: (member_expression
|
||||||
property: (property_identifier) @function.method)
|
property: (property_identifier) @method)
|
||||||
right: (function))
|
right: (function))
|
||||||
|
|
||||||
(variable_declarator
|
(variable_declarator
|
||||||
|
|
@ -75,7 +75,7 @@
|
||||||
|
|
||||||
(call_expression
|
(call_expression
|
||||||
function: (member_expression
|
function: (member_expression
|
||||||
property: (property_identifier) @function.method))
|
property: (property_identifier) @method))
|
||||||
|
|
||||||
; Variables
|
; Variables
|
||||||
;----------
|
;----------
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue