aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/dart/indents.scm
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/dart/indents.scm')
-rw-r--r--runtime/queries/dart/indents.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/runtime/queries/dart/indents.scm b/runtime/queries/dart/indents.scm
new file mode 100644
index 00000000..14c6a375
--- /dev/null
+++ b/runtime/queries/dart/indents.scm
@@ -0,0 +1,20 @@
+[
+ (class_body)
+ (function_body)
+ (function_expression_body)
+ (declaration)
+ (initializers)
+ (switch_block)
+ (if_statement)
+ (formal_parameter_list)
+ (formal_parameter)
+ (list_literal)
+ (return_statement)
+ (arguments)
+] @indent
+
+[
+ "}"
+ "]"
+ ")"
+] @outdent