helix/runtime/queries/r/locals.scm
2024-09-13 13:28:20 -05:00

12 lines
301 B
Scheme

; locals.scm
(function_definition) @local.scope
(formal_parameters (identifier) @local.definition)
(left_assignment name: (identifier) @local.definition)
(equals_assignment name: (identifier) @local.definition)
(right_assignment name: (identifier) @local.definition)
(identifier) @local.reference