mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -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
|
||||
(identifier) @definition.function) @scope)
|
||||
(function_definition) @scope
|
||||
|
||||
[
|
||||
(local_variable_declaration
|
||||
(variable_declarator
|
||||
(identifier) @definition.function)
|
||||
(function_definition) @scope)
|
||||
(function_definition) @scope
|
||||
]
|
||||
|
||||
|
||||
(program) @scope
|
||||
((if_statement) @scope)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue