aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/ecma
diff options
context:
space:
mode:
authorThor Adam2023-03-21 22:13:32 +0000
committerGitHub2023-03-21 22:13:32 +0000
commit346ddd473512ed6e9a81e1fa9d42717a37afcf76 (patch)
tree61c64860f12cb6f58b83c374fdcc144e8b194a89 /runtime/queries/ecma
parent0e0c16e6fa2610c02a4fa6a3f9f90ba5e32133bb (diff)
Add `switch_statement` to ecma indents (#6369)
Diffstat (limited to 'runtime/queries/ecma')
-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
+
+[
"}"
"]"
")"