Touch up elm tree sitter integration
This commit is contained in:
parent
6ad0852a70
commit
ea74734b0a
2 changed files with 4 additions and 4 deletions
|
@ -53,6 +53,7 @@
|
|||
|
||||
(union_variant(upper_case_identifier) @variant)
|
||||
(union_pattern) @variant
|
||||
|
||||
(value_expr(upper_case_qid(upper_case_identifier)) @type)
|
||||
|
||||
[
|
||||
|
|
|
@ -12,11 +12,10 @@
|
|||
(type_expression
|
||||
part: (record_type
|
||||
(field_type
|
||||
name: (lower_case_identifier) @name)))) @item
|
||||
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
|
||||
(type_annotation
|
||||
name: (_) @name) @item
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue