mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-11 16:00:02 -04:00
parent
dfcd371058
commit
e218a862a1
1 changed files with 6 additions and 6 deletions
|
|
@ -21,19 +21,19 @@
|
||||||
(variable_list
|
(variable_list
|
||||||
(dot_index_expression . (_) @definition.associated (identifier) @definition.var)))
|
(dot_index_expression . (_) @definition.associated (identifier) @definition.var)))
|
||||||
|
|
||||||
(function_declaration
|
((function_declaration
|
||||||
name: (identifier) @definition.function)
|
name: (identifier) @definition.function)
|
||||||
(#set! definition.function.scope "parent")
|
(#set! definition.function.scope "parent"))
|
||||||
|
|
||||||
(function_declaration
|
((function_declaration
|
||||||
name: (dot_index_expression
|
name: (dot_index_expression
|
||||||
. (_) @definition.associated (identifier) @definition.function))
|
. (_) @definition.associated (identifier) @definition.function))
|
||||||
(#set! definition.method.scope "parent")
|
(#set! definition.method.scope "parent"))
|
||||||
|
|
||||||
(function_declaration
|
((function_declaration
|
||||||
name: (method_index_expression
|
name: (method_index_expression
|
||||||
. (_) @definition.associated (identifier) @definition.method))
|
. (_) @definition.associated (identifier) @definition.method))
|
||||||
(#set! definition.method.scope "parent")
|
(#set! definition.method.scope "parent"))
|
||||||
|
|
||||||
(for_generic_clause
|
(for_generic_clause
|
||||||
(variable_list
|
(variable_list
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue