aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/wren/indents.scm
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/wren/indents.scm')
-rw-r--r--runtime/queries/wren/indents.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/runtime/queries/wren/indents.scm b/runtime/queries/wren/indents.scm
new file mode 100644
index 00000000..ff64a7e2
--- /dev/null
+++ b/runtime/queries/wren/indents.scm
@@ -0,0 +1,29 @@
+[
+ (list)
+ (map)
+ (call_body)
+ (parameter_list)
+ (call_expression)
+ (getter_definition)
+ (setter_definition)
+ (prefix_operator_definition)
+ (subscript_operator_definition)
+ (subscript_setter_definition)
+ (infix_operator_definition)
+ (method_definition)
+ (constructor)
+ (static_method_definition)
+ (static_getter_definition)
+ (attribute)
+ (conditional)
+ (class_body)
+ (if_statement)
+ (for_statement)
+ (while_statement)
+] @indent
+
+[
+ "}"
+ "]"
+ ")"
+] @outdent