mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-23 01:46:18 +04:00
31 lines
567 B
Scheme
31 lines
567 B
Scheme
; Scopes
|
|
|
|
(block) @local.scope
|
|
|
|
; Definitions
|
|
|
|
(parameter_declaration (identifier) @local.definition)
|
|
(variadic_parameter_declaration (identifier) @local.definition)
|
|
|
|
(short_var_declaration
|
|
left: (expression_list
|
|
(identifier) @local.definition))
|
|
|
|
(var_spec
|
|
name: (identifier) @local.definition)
|
|
|
|
(for_statement
|
|
(range_clause
|
|
left: (expression_list
|
|
(identifier) @local.definition)))
|
|
|
|
(const_declaration
|
|
(const_spec
|
|
name: (identifier) @local.definition))
|
|
|
|
; References
|
|
|
|
(identifier) @local.reference
|
|
(field_identifier) @local.reference
|
|
|