aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/unison/indents.scm
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/unison/indents.scm')
-rw-r--r--runtime/queries/unison/indents.scm15
1 files changed, 15 insertions, 0 deletions
diff --git a/runtime/queries/unison/indents.scm b/runtime/queries/unison/indents.scm
new file mode 100644
index 00000000..6cb15517
--- /dev/null
+++ b/runtime/queries/unison/indents.scm
@@ -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