aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/v/indents.scm
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/v/indents.scm')
-rw-r--r--runtime/queries/v/indents.scm17
1 files changed, 17 insertions, 0 deletions
diff --git a/runtime/queries/v/indents.scm b/runtime/queries/v/indents.scm
new file mode 100644
index 00000000..5573d489
--- /dev/null
+++ b/runtime/queries/v/indents.scm
@@ -0,0 +1,17 @@
+[
+ (struct_declaration)
+ (function_declaration)
+ (if_expression)
+ (match_expression)
+ (expression_case)
+ (default_case)
+ (for_statement)
+ (unsafe_expression)
+ (short_var_declaration)
+] @indent
+
+[
+ "]"
+ ")"
+ "}"
+] @outdent