summaryrefslogtreecommitdiff
path: root/runtime/queries/ecma/indents.scm
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/ecma/indents.scm')
-rw-r--r--runtime/queries/ecma/indents.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/runtime/queries/ecma/indents.scm b/runtime/queries/ecma/indents.scm
new file mode 100644
index 00000000..a4237e59
--- /dev/null
+++ b/runtime/queries/ecma/indents.scm
@@ -0,0 +1,22 @@
+[
+ (array)
+ (object)
+ (arguments)
+ (formal_parameters)
+
+ (statement_block)
+ (object_pattern)
+ (class_body)
+ (named_imports)
+
+ (binary_expression)
+ (return_statement)
+ (template_substitution)
+ (export_clause)
+] @indent
+
+[
+ "}"
+ "]"
+ ")"
+] @outdent