aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/dart
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/dart')
-rw-r--r--runtime/queries/dart/indents.scm20
-rw-r--r--runtime/queries/dart/indents.toml20
2 files changed, 20 insertions, 20 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
diff --git a/runtime/queries/dart/indents.toml b/runtime/queries/dart/indents.toml
deleted file mode 100644
index 5c11e05d..00000000
--- a/runtime/queries/dart/indents.toml
+++ /dev/null
@@ -1,20 +0,0 @@
-indent = [
- "class_body",
- "function_body",
- "function_expression_body",
- "declaration",
- "initializers",
- "switch_block",
- "if_statement",
- "formal_parameter_list",
- "formal_parameter",
- "list_literal",
- "return_statement",
- "arguments"
-]
-
-outdent = [
- "}",
- "]",
- ")"
-]