mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 11:06:54 -04:00
19 lines
344 B
Scheme
19 lines
344 B
Scheme
[
|
|
(script_file)
|
|
(function_definition)
|
|
] @local.scope
|
|
|
|
(function_declaration
|
|
name: (identifier) @local.definition.function)
|
|
|
|
(function_declaration
|
|
parameters: (parameters
|
|
(identifier) @local.definition.parameter))
|
|
|
|
(let_statement
|
|
[
|
|
(scoped_identifier)
|
|
(identifier)
|
|
] @local.definition.var)
|
|
|
|
(identifier) @local.reference
|