forked from Mirrors/helix
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
822 B
Scheme
20 lines
822 B
Scheme
(function_definition name: (identifier) @local.definition ?) @local.scope
|
|
(function_arguments (identifier)* @local.definition)
|
|
|
|
(lambda (arguments (identifier) @local.definition)) @local.scope
|
|
|
|
(assignment left: ((function_call
|
|
name: (identifier) @local.definition)))
|
|
(assignment left: ((field_expression . [(function_call
|
|
name: (identifier) @local.definition)
|
|
(identifier) @local.definition])))
|
|
(assignment left: (_) @local.definition)
|
|
(assignment (multioutput_variable (_) @local.definition))
|
|
|
|
(iterator . (identifier) @local.definition)
|
|
(global_operator (identifier) @local.definition)
|
|
(persistent_operator (identifier) @local.definition)
|
|
(catch_clause (identifier) @local.definition)
|
|
|
|
(identifier) @local.reference
|