helix-mirror/runtime/queries/ecma/indents.scm
2023-03-21 17:13:32 -05:00

29 lines
339 B
Scheme

[
(array)
(object)
(arguments)
(formal_parameters)
(statement_block)
(switch_statement)
(object_pattern)
(class_body)
(named_imports)
(binary_expression)
(return_statement)
(template_substitution)
(export_clause)
] @indent
[
(switch_case)
(switch_default)
] @indent @extend
[
"}"
"]"
")"
] @outdent