Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect indentation after an arrow and after a dot. #70

Open
AlexCzar opened this issue Sep 1, 2013 · 2 comments
Open

Incorrect indentation after an arrow and after a dot. #70

AlexCzar opened this issue Sep 1, 2013 · 2 comments

Comments

@AlexCzar
Copy link

AlexCzar commented Sep 1, 2013

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() ->
    {}.
@ostinelli
Copy link
Owner

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.

@AlexCzar
Copy link
Author

AlexCzar commented Sep 3, 2013

I have vimerl installed and it does not demonstrate the behaviour I described here, code is indented correctly with vim+vimerl.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants