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.
30 lines
578 B
Scheme
30 lines
578 B
Scheme
2 years ago
|
(template_body) @local.scope
|
||
|
(lambda_expression) @local.scope
|
||
|
|
||
|
|
||
|
(function_declaration
|
||
|
name: (identifier) @local.definition) @local.scope
|
||
|
|
||
|
(function_definition
|
||
|
name: (identifier) @local.definition)
|
||
|
|
||
|
(parameter
|
||
|
name: (identifier) @local.definition)
|
||
|
|
||
|
(binding
|
||
|
name: (identifier) @local.definition)
|
||
|
|
||
|
(val_definition
|
||
|
pattern: (identifier) @local.definition)
|
||
|
|
||
|
(var_definition
|
||
|
pattern: (identifier) @local.definition)
|
||
|
|
||
|
(val_declaration
|
||
|
name: (identifier) @local.definition)
|
||
|
|
||
|
(var_declaration
|
||
|
name: (identifier) @local.definition)
|
||
|
|
||
|
(identifier) @local.reference
|