Files
helix/runtime/queries/erlang/indents.scm

29 lines
353 B
Scheme

[
(function_clause)
(case)
(clause)
(anonymous_function)
(if)
(receive)
(try)
(block)
(maybe)
(list)
(tuple)
(map)
(arguments)
(bitstring)
] @indent
; `catch`/`after` are branch keywords inside `try`/`receive`; they align with
; the construct, not its body.
[
"end"
"catch"
"after"
"]"
"}"
")"
">>"
] @outdent