helix-mods/runtime/queries/ecma/indents.scm

29 lines
339 B
Scheme
Raw Normal View History

[
(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