mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-27 20:03:29 +04:00
ec0bdb3976
This change uses <https://git.sr.ht/~ecs/tree-sitter-hare/> that is up-to-date and linked from the official documentation.
20 lines
398 B
Scheme
20 lines
398 B
Scheme
(sub_unit) @local.scope
|
|
|
|
(function_declaration) @local.scope
|
|
(compound_expression) @local.scope
|
|
|
|
(global_binding
|
|
(identifier) @local.definition)
|
|
(constant_binding
|
|
(identifier) @local.definition)
|
|
(type_binding
|
|
(identifier) @local.definition)
|
|
|
|
(function_declaration
|
|
(identifier) @local.definition)
|
|
(function_declaration
|
|
(parameter (name) @local.definition))
|
|
|
|
(identifier) @local.reference
|
|
|