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