mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-03 03:56:52 -04:00
feat(locals)!: switch to upstream captures
This commit is contained in:
parent
306367a7f4
commit
8fb218dbfd
95 changed files with 1154 additions and 1154 deletions
|
|
@ -1,10 +1,10 @@
|
|||
[
|
||||
(script_file)
|
||||
(function_definition)
|
||||
] @scope
|
||||
] @local.scope
|
||||
|
||||
(function_declaration name: (identifier) @definition.function)
|
||||
(function_declaration parameters: (parameters (identifier) @definition.parameter))
|
||||
(let_statement [(scoped_identifier) (identifier)] @definition.var)
|
||||
(function_declaration name: (identifier) @local.definition.function)
|
||||
(function_declaration parameters: (parameters (identifier) @local.definition.parameter))
|
||||
(let_statement [(scoped_identifier) (identifier)] @local.definition.var)
|
||||
|
||||
(identifier) @reference
|
||||
(identifier) @local.reference
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue