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