Files
tia-lsp.nvim/queries/locals.scm
T
2026-02-14 15:05:12 +01:00

16 lines
368 B
Scheme

; Local variable scoping for SCL - matches grammar.js structure
; Variable declarations define local variables
(var_item
name: (identifier) @definition.var)
; Variable sections create scopes
(var_declaration) @local.scope
; Blocks create scopes
(organization_block) @local.scope
(function_block) @local.scope
; Identifiers are references
(identifier) @reference