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.
16 lines
442 B
Scheme
16 lines
442 B
Scheme
3 years ago
|
; Scopes
|
||
|
(function_body) @local.scope
|
||
|
|
||
|
(case_clause) @local.scope
|
||
|
|
||
|
; Definitions
|
||
|
(let pattern: (identifier) @local.definition)
|
||
|
(function_parameter name: (identifier) @local.definition)
|
||
|
(list_pattern (identifier) @local.definition)
|
||
|
(list_pattern assign: (identifier) @local.definition)
|
||
|
(tuple_pattern (identifier) @local.definition)
|
||
|
(record_pattern_argument pattern: (identifier) @local.definition)
|
||
|
|
||
|
; References
|
||
|
(identifier) @local.reference
|