aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/scala/indents.toml
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/scala/indents.toml')
-rw-r--r--runtime/queries/scala/indents.toml23
1 files changed, 23 insertions, 0 deletions
diff --git a/runtime/queries/scala/indents.toml b/runtime/queries/scala/indents.toml
new file mode 100644
index 00000000..6de54844
--- /dev/null
+++ b/runtime/queries/scala/indents.toml
@@ -0,0 +1,23 @@
+
+indent = [
+ "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"
+]
+
+outdent = [
+ "}",
+ "]",
+ ")"
+]