mirror of
https://github.com/helix-editor/helix
synced 2026-03-11 22:38:26 +01:00
27 lines
401 B
Scheme
27 lines
401 B
Scheme
; Scopes
|
|
;-------
|
|
|
|
[
|
|
(statement_block)
|
|
(arrow_function)
|
|
(function_expression)
|
|
(function_declaration)
|
|
(method_definition)
|
|
(for_statement)
|
|
(for_in_statement)
|
|
(catch_clause)
|
|
(finally_clause)
|
|
] @local.scope
|
|
|
|
; Definitions
|
|
;------------
|
|
|
|
; i => ...
|
|
(arrow_function
|
|
parameter: (identifier) @local.definition.variable.parameter)
|
|
|
|
; References
|
|
;------------
|
|
|
|
(identifier) @local.reference
|