
Release Notes: - Extracted Elm language support into an extension Co-authored-by: Marshall <marshall@zed.dev>
22 lines
571 B
Scheme
22 lines
571 B
Scheme
(type_declaration
|
|
(type) @context
|
|
(upper_case_identifier) @name) @item
|
|
|
|
(type_alias_declaration
|
|
(type) @context
|
|
(alias) @context
|
|
name: (upper_case_identifier) @name) @item
|
|
|
|
(type_alias_declaration
|
|
typeExpression:
|
|
(type_expression
|
|
part: (record_type
|
|
(field_type
|
|
name: (lower_case_identifier) @name) @item)))
|
|
|
|
(union_variant
|
|
name: (upper_case_identifier) @name) @item
|
|
|
|
(value_declaration
|
|
functionDeclarationLeft:
|
|
(function_declaration_left(lower_case_identifier) @name)) @item
|