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

Missing vim formatting directives #9

Open
oferrigni opened this issue Mar 31, 2014 · 2 comments
Open

Missing vim formatting directives #9

oferrigni opened this issue Mar 31, 2014 · 2 comments

Comments

@oferrigni
Copy link
Collaborator

As a contributor, I don't know how to correctly format source code as there are directives.

Possibly suggestion:
%% -- erlang-indent-level: 4;indent-tabs-mode: nil; fill-column: 92 --
%% ex: ts=4 sw=4 et tw=92

Happy to apply to all source and open a PR if you reply with a preferred format.

@MattVonVielen
Copy link
Owner

What does the fill-column emacs instruction do? Is that the right margin? If so then set tw=92 on the vim modeline to match. Otherwise, those settings are correct.

@oferrigni
Copy link
Collaborator Author

Does that look better?

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