aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'runtime')
-rw-r--r--runtime/queries/ecma/indents.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/queries/ecma/indents.scm b/runtime/queries/ecma/indents.scm
index a4237e59..12c8fc98 100644
--- a/runtime/queries/ecma/indents.scm
+++ b/runtime/queries/ecma/indents.scm
@@ -5,6 +5,7 @@
(formal_parameters)
(statement_block)
+ (switch_statement)
(object_pattern)
(class_body)
(named_imports)
@@ -16,6 +17,11 @@
] @indent
[
+ (switch_case)
+ (switch_default)
+] @indent @extend
+
+[
"}"
"]"
")"