mirror of https://github.com/helix-editor/helix
26 lines
351 B
Scheme
26 lines
351 B
Scheme
[
|
|
(block)
|
|
(fn_stmt)
|
|
(local_fn_stmt)
|
|
(anon_fn)
|
|
(for_range_stmt)
|
|
(for_in_stmt)
|
|
] @local.scope
|
|
|
|
(_
|
|
parameter_name: (name) @local.definition.variable.parameter
|
|
)
|
|
|
|
(binding
|
|
variable_name: (name) @local.definition.variable
|
|
)
|
|
|
|
(var
|
|
variable_name: (name) @local.reference
|
|
)
|
|
|
|
; (call_stmt
|
|
; .
|
|
; method_table: (name) @local.reference
|
|
; )
|