mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 11:06:54 -04:00
19 lines
390 B
Scheme
19 lines
390 B
Scheme
[
|
|
(function_definition)
|
|
(alias_declaration)
|
|
(enum_struct_method)
|
|
(methodmap_method)
|
|
(methodmap_method_constructor)
|
|
(methodmap_method_destructor)
|
|
(methodmap_property_method)
|
|
] @local.scope
|
|
|
|
; Definitions
|
|
(variable_declaration
|
|
name: (identifier) @local.definition)
|
|
|
|
(old_variable_declaration
|
|
name: (identifier) @local.definition)
|
|
|
|
; References
|
|
(identifier) @local.reference
|