mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-19 03:40:04 -04:00
Remove duplicate capture for function_definition
This commit is contained in:
parent
6182c2b0a6
commit
775021cbd5
1 changed files with 4 additions and 2 deletions
|
|
@ -27,12 +27,14 @@
|
||||||
|
|
||||||
((local_function
|
((local_function
|
||||||
(identifier) @definition.function) @scope)
|
(identifier) @definition.function) @scope)
|
||||||
(function_definition) @scope
|
[
|
||||||
|
|
||||||
(local_variable_declaration
|
(local_variable_declaration
|
||||||
(variable_declarator
|
(variable_declarator
|
||||||
(identifier) @definition.function)
|
(identifier) @definition.function)
|
||||||
(function_definition) @scope)
|
(function_definition) @scope)
|
||||||
|
(function_definition) @scope
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
(program) @scope
|
(program) @scope
|
||||||
((if_statement) @scope)
|
((if_statement) @scope)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue