Skip to content

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