1
0
mirror of https://github.com/helix-editor/helix synced 2026-01-26 05:38:09 +01:00
helix/runtime/queries/koto/locals.scm
2025-05-13 19:01:10 -04:00

25 lines
449 B
Scheme

; Scopes
(module (_) @local.scope)
(function
body: (_) @local.scope)
; Definitions
(arg
(identifier) @local.definition.variable.parameter)
(arg
(variable (identifier)) @local.definition.parameter)
(import_item
(identifier) @local.definition.namespace)
(entry_block
(identifier) @local.definition.variable.other.member)
(entry_inline
(identifier) @local.definition.variable.other.member)
; References
(identifier) @local.reference