summaryrefslogtreecommitdiff
path: root/runtime/queries/scala/indents.scm
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/scala/indents.scm')
-rw-r--r--runtime/queries/scala/indents.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/runtime/queries/scala/indents.scm b/runtime/queries/scala/indents.scm
new file mode 100644
index 00000000..3449cfa7
--- /dev/null
+++ b/runtime/queries/scala/indents.scm
@@ -0,0 +1,22 @@
+[
+ (block)
+ (arguments)
+ (parameter)
+ (class_definition)
+ (trait_definition)
+ (object_definition)
+ (function_definition)
+ (val_definition)
+ (import_declaration)
+ (while_expression)
+ (do_while_expression)
+ (for_expression)
+ (try_expression)
+ (match_expression)
+] @indent
+
+[
+ "}"
+ "]"
+ ")"
+] @outdent