atom-language-erlang icon indicating copy to clipboard operation
atom-language-erlang copied to clipboard

(Auto-)Indentation of functions not working

Open attah opened this issue 8 years ago • 0 comments

New functions, or clauses are indented according to the body of the previous, not the head of it, or base indentation.

Expected behaviour:

f1() ->
  herp.
f2() ->
  derp.

Actual behaviour:

f1() ->
  herp.
  f2() ->
    derp.

it does not help to manually invoke auto-indent either.

attah avatar Nov 18 '16 10:11 attah