helix-mods/runtime/queries/rust/locals.scm

15 lines
224 B
Scheme

; Scopes
(block) @local.scope
(closure_expression) @local.scope
; Definitions
(parameter
(identifier) @local.definition)
(closure_parameters (identifier) @local.definition)
; References
(identifier) @local.reference