Open Nondv opened 2 years ago
If I just write code naturally and indent everything:
def func(x) when x.y = 1 do abc end
After elixir-format:
elixir-format
and now when I add something after the function, the indentation breaks:
def func(x) when x.y = 1 do abc end def id(x) do x end
also, shouldn't the mode's formatting be at least a little bit similar to the format tool?
I hit this myself today with the exact same situation 😞
Also happens for me
If I just write code naturally and indent everything:
After
elixir-format
:and now when I add something after the function, the indentation breaks:
also, shouldn't the mode's formatting be at least a little bit similar to the format tool?