From 346ddd473512ed6e9a81e1fa9d42717a37afcf76 Mon Sep 17 00:00:00 2001 From: Thor Adam Date: Tue, 21 Mar 2023 22:13:32 +0000 Subject: Add `switch_statement` to ecma indents (#6369) --- runtime/queries/ecma/indents.scm | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'runtime/queries') 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) @@ -15,6 +16,11 @@ (export_clause) ] @indent +[ + (switch_case) + (switch_default) +] @indent @extend + [ "}" "]" -- cgit v1.2.3-70-g09d2