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_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)
|
||||||
|
|
||||||
[
|
[
|
||||||
|
|
|
@ -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
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue