Fix Elixir indents to match mix format

This commit is contained in:
Connor Lay (Clay) 2022-02-06 14:13:56 -08:00 committed by Stephan Seitz
parent 4990db79a8
commit 5045086793

View file

@ -1,18 +1,23 @@
[ [
(arguments) (block)
(do_block) (do_block)
(list) (list)
(map) (map)
(stab_clause)
(tuple) (tuple)
(arguments)
] @indent ] @indent
[ [
")" ")"
"]" "]"
"end" "after"
"catch"
"else"
"rescue"
"}" "}"
(after_block) "end"
(else_block) ] @indent_end @branch
(rescue_block)
(catch_block) ; Elixir pipelines are not indented, but other binary operator chains are
] @branch ((binary_operator operator: _ @_operator) @indent (#not-eq? @_operator "|>"))