mirror of
https://github.com/helix-editor/helix
synced 2026-08-05 14:42:57 +02:00
15 lines
328 B
Scheme
15 lines
328 B
Scheme
; Scopes
|
|
|
|
(function_definition) @local.scope
|
|
|
|
; Definitions
|
|
|
|
; `set`/`read` bindings aren't a dedicated node (the name is an untyped `word`
|
|
; argument), so only the for-loop variable is reliably a definition.
|
|
(for_statement
|
|
variable: (variable_name) @local.definition.variable)
|
|
|
|
; References
|
|
|
|
(variable_name) @local.reference
|