Touch up elm tree sitter integration

This commit is contained in:
Mikayla Maki 2023-07-24 08:51:44 -07:00
parent 6ad0852a70
commit ea74734b0a
No known key found for this signature in database
2 changed files with 4 additions and 4 deletions

View file

@ -53,6 +53,7 @@
(union_variant(upper_case_identifier) @variant) (union_variant(upper_case_identifier) @variant)
(union_pattern) @variant (union_pattern) @variant
(value_expr(upper_case_qid(upper_case_identifier)) @type) (value_expr(upper_case_qid(upper_case_identifier)) @type)
[ [

View file

@ -12,11 +12,10 @@
(type_expression (type_expression
part: (record_type part: (record_type
(field_type (field_type
name: (lower_case_identifier) @name)))) @item name: (lower_case_identifier) @name) @item)))
(union_variant (union_variant
name: (upper_case_identifier) @name) @item name: (upper_case_identifier) @name) @item
(value_declaration (type_annotation
functionDeclarationLeft: name: (_) @name) @item
(function_declaration_left(lower_case_identifier) @name)) @item