mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 11:20:07 -04:00
feat!: drop modules, general refactor and cleanup
This commit is contained in:
parent
310f0925ec
commit
692b051b09
1247 changed files with 6096 additions and 9074 deletions
|
|
@ -1,35 +0,0 @@
|
|||
[
|
||||
(function_definition)
|
||||
(statement_block)
|
||||
(if_statement)
|
||||
(while_statement)
|
||||
(for_statement)
|
||||
(foreach_statement)
|
||||
(catch_clause)
|
||||
] @local.scope
|
||||
|
||||
(init_declarator
|
||||
name: (identifier) @local.definition.var)
|
||||
|
||||
(array_declarator
|
||||
name: (identifier) @local.definition.var)
|
||||
|
||||
(function_definition
|
||||
name: (identifier) @local.definition.function)
|
||||
|
||||
(parameter
|
||||
name: (identifier) @local.definition.parameter)
|
||||
|
||||
(tuple_capture
|
||||
(identifier) @local.definition.var)
|
||||
|
||||
(catch_clause
|
||||
parameter: (identifier) @local.definition.var)
|
||||
|
||||
(assignment_expression
|
||||
left: (identifier) @local.definition.var)
|
||||
|
||||
(call_expression
|
||||
function: (identifier) @local.reference)
|
||||
|
||||
(identifier) @local.reference
|
||||
Loading…
Add table
Add a link
Reference in a new issue