mirror of
https://github.com/helix-editor/helix
synced 2026-08-05 02:33:01 +02:00
21 lines
451 B
Scheme
21 lines
451 B
Scheme
((method_def) @local.scope
|
|
(#set! local.scope-inherits false))
|
|
((fun_def) @local.scope
|
|
(#set! local.scope-inherits false))
|
|
|
|
(block) @local.scope
|
|
|
|
(param
|
|
name: (identifier) @local.definition.variable.parameter)
|
|
|
|
(assign
|
|
lhs: (identifier) @local.definition.variable)
|
|
|
|
(identifier) @local.reference
|
|
|
|
; Call/keyword-argument names look like identifiers but aren't variable refs.
|
|
(call
|
|
method: (identifier) @_)
|
|
(named_expr
|
|
name: (identifier) @_)
|