SublimErl
SublimErl copied to clipboard
Incorrect indentation after an arrow and after a dot.
Example for arrow
How it is
some_method() ->
{}.
How it should be
some_method() ->
{}.
Example for dot (and arrow)
How it is
some_method() ->
{}.
some_other_method() ->
{}.
How it should be
some_method() ->
{}.
some_other_method() ->
{}.
Thank you for reporting this.
The formatter has been licensed from vimerl, you can find it here: https://github.com/jimenezrick/vimerl/blob/master/indent/erlang_indent.erl
Please report a bug there, I'll get the most updated version asap.
I have vimerl installed and it does not demonstrate the behaviour I described here, code is indented correctly with vim+vimerl.