helix/runtime/queries/r/locals.scm

12 lines
301 B
Scheme
Raw Normal View History

2024-09-13 13:28:20 -05:00
; 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