mirror of https://github.com/helix-editor/helix
Update Unison tree-sitter grammar for type changes and add indent queries (#9505)
* Update Unison tree-sitter grammar for type changes * Add indent queries for Unison * Improve Unison indent queriespull/9149/merge
parent
75d61d8149
commit
6e3ed7f0fa
@ -0,0 +1,15 @@
|
||||
[
|
||||
(term_definition)
|
||||
(type_declaration)
|
||||
(pattern)
|
||||
(tuple_or_parenthesized)
|
||||
(literal_list)
|
||||
(tuple_pattern)
|
||||
(function_application)
|
||||
(exp_if)
|
||||
(constructor)
|
||||
(delay_block)
|
||||
(type_signature)
|
||||
] @indent
|
||||
|
||||
[(kw_then) (kw_else) (cases)] @indent.always @extend
|
Loading…
Reference in New Issue