Skip to content

Commit

Permalink
Add switch_statement to ecma indents (#6369)
Browse files Browse the repository at this point in the history
  • Loading branch information
thoradam committed Mar 21, 2023
1 parent 0e0c16e commit 346ddd4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions runtime/queries/ecma/indents.scm
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
(formal_parameters)

(statement_block)
(switch_statement)
(object_pattern)
(class_body)
(named_imports)
Expand All @@ -15,6 +16,11 @@
(export_clause)
] @indent

[
(switch_case)
(switch_default)
] @indent @extend

[
"}"
"]"
Expand Down

0 comments on commit 346ddd4

Please sign in to comment.