mirror of
https://github.com/helix-editor/helix.git
synced 2025-04-04 03:17:45 +03:00
23 lines
371 B
Scheme
23 lines
371 B
Scheme
; Scopes
|
|
|
|
[
|
|
(function_item)
|
|
(struct_item)
|
|
(enum_item)
|
|
(union_item)
|
|
(type_item)
|
|
(trait_item)
|
|
(impl_item)
|
|
(closure_expression)
|
|
(block)
|
|
] @local.scope
|
|
|
|
; Definitions
|
|
|
|
(parameter
|
|
pattern: (identifier) @local.definition.variable.parameter)
|
|
|
|
(closure_parameters (identifier) @local.definition.variable.parameter)
|
|
|
|
; References
|
|
(identifier) @local.reference
|