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

Fix indentation issue after COMMA token #337

Merged
merged 1 commit into from
Apr 19, 2016
Merged

Conversation

tonini
Copy link
Contributor

@tonini tonini commented Apr 19, 2016

fixes #336

@tonini tonini merged commit fc20276 into master Apr 19, 2016
@tonini tonini deleted the fix-before-comma-indent branch April 19, 2016 08:09
"
defmodule TestIndentation do
import Enum

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The problem actually occurred only when there was no newline here (after import Enum).

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Its working both ways, Its tested but you're free to add another test case too

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, just tested, it works :)

J3RN pushed a commit to J3RN/emacs-elixir that referenced this pull request Apr 24, 2021
* Drop OTP 20 and add version support guidance

Drop OTP 20 because it is generally no longer supported by the OTP team.

* Add PR # to changelog

* Change minimum Elixir version to 1.8.0

* update changelog
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

Successfully merging this pull request may close these issues.

Module attributes with a comma break indentation for the rest of the file (sometimes)
2 participants