vim-erlang/vim-erlang-runtime

respect comma first style

andrzejsliwa opened this issue · 2 comments

actual:

-export([ greet/2
          , head/1
          , second/1]).

expected:

-export([ greet/2
        , head/1
        , second/1]).

same for tuples and arguments list

emacs change: erlang/otp@8bfff9e

more examples in intellij erlang issue :
ignatov/intellij-erlang#294

Thank you for your finding – I will keep the ticket open until I have some time to look into the best way to solve this.

efine commented

It would be very useful to have this behavior, along with better multiline indentation for keywords such as fun, =, orelse, andalso, etc. as mentioned in the issue opened by Tuncer. In particular, the ability to choose whether to have a double or single indent on the line after fun would be much appreciated.