Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/inko/indents.scm')
-rw-r--r--runtime/queries/inko/indents.scm36
1 files changed, 36 insertions, 0 deletions
diff --git a/runtime/queries/inko/indents.scm b/runtime/queries/inko/indents.scm
new file mode 100644
index 00000000..973e2126
--- /dev/null
+++ b/runtime/queries/inko/indents.scm
@@ -0,0 +1,36 @@
+[
+ (arguments)
+ (array)
+ (assign_field)
+ (assign_local)
+ (assign_receiver_field)
+ (binary)
+ (block)
+ (bounds)
+ (cast)
+ (class)
+ (class_pattern)
+ (compound_assign_field)
+ (compound_assign_local)
+ (compound_assign_receiver_field)
+ (define_constant)
+ (define_variable)
+ (grouped_expression)
+ (implement_trait)
+ (match)
+ (or_pattern)
+ (reopen_class)
+ (replace_field)
+ (replace_local)
+ (symbols)
+ (trait)
+ (tuple)
+ (tuple_pattern)
+ (type_arguments)
+] @indent
+
+[
+ ")"
+ "]"
+ "}"
+] @outdent