summaryrefslogtreecommitdiff
path: root/runtime/queries/rust/indents.toml
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/rust/indents.toml')
-rw-r--r--runtime/queries/rust/indents.toml30
1 files changed, 30 insertions, 0 deletions
diff --git a/runtime/queries/rust/indents.toml b/runtime/queries/rust/indents.toml
new file mode 100644
index 00000000..49c2c15e
--- /dev/null
+++ b/runtime/queries/rust/indents.toml
@@ -0,0 +1,30 @@
+indent = [
+ "while_expression",
+ "for_expression",
+ "loop_expression",
+ "if_expression",
+ "if_let_expression",
+ "tuple_expression",
+ "array_expression",
+ "use_list",
+ "block",
+ "match_block",
+ "arguments",
+ "parameters",
+ "declaration_list",
+ "field_declaration_list",
+ "field_initializer_list",
+ "struct_pattern",
+ "tuple_pattern",
+ "enum_variant_list",
+ "binary_expression",
+ "field_expression",
+ "where_clause"
+]
+
+outdent = [
+ "where",
+ "}",
+ "]",
+ ")"
+]