helix/runtime/queries/hare/locals.scm
2025-03-27 10:50:04 -04:00

12 lines
275 B
Scheme

(sub_unit) @local.scope
(function_declaration) @local.scope
(compound_expression) @local.scope
(function_declaration
(identifier) @local.definition.function)
(function_declaration
(parameter (name) @local.definition.variable.parameter))
(identifier) @local.reference