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

Add correct indent for "if" inside a "->" block #249

Merged
merged 1 commit into from
Sep 9, 2015

Conversation

tonini
Copy link
Contributor

@tonini tonini commented Sep 8, 2015

fixes #248

@whatyouhide
Copy link

@tonini 👍!

@tonini tonini force-pushed the correct-indent-for-if-inside-block branch from a2d737a to 77b2a94 Compare September 8, 2015 16:13
tonini added a commit that referenced this pull request Sep 9, 2015
…-block

Add correct indent for "if" inside a "->" block
@tonini tonini merged commit 87f82cb into master Sep 9, 2015
@tonini tonini deleted the correct-indent-for-if-inside-block branch September 9, 2015 08:14
J3RN pushed a commit to J3RN/emacs-elixir that referenced this pull request Apr 24, 2021
)

This bug happens because of use `/ 2` in advance_pos which is convert
into floating number. Fixes by using `trunc/1`. And add test to ensure
line and character always integer.

Fixes elixir-editors#249
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.

Indentation of if fails after a ->
2 participants