We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
when
When I have a defined, multi-line function and a when with multiple operators without parenthesis, the function body is not indented properly.
Expected
def foo(x) when x + 1 > y do [] end
Actual
Note: This does not happen when x + 1 is wrapped in parenthesis
x + 1
def foo(x) when (x + 1) > y do [] end
OS: Mac OSX Sierra Emacs Version: GNU Emacs 25.1.1 elixir-mode: 20170102.942
The text was updated successfully, but these errors were encountered:
Failing test for defined function indentation with when
68ad9bb
See elixir-editors#391
I created a pull request with a failing test since this was recommended in the contributing guide. See #392
Sorry, something went wrong.
No branches or pull requests
Description
When I have a defined, multi-line function and a
when
with multiple operators without parenthesis, the function body is not indented properly.Example
Expected
Actual
Note: This does not happen when
x + 1
is wrapped in parenthesisVersions
OS: Mac OSX Sierra
Emacs Version: GNU Emacs 25.1.1
elixir-mode: 20170102.942
The text was updated successfully, but these errors were encountered: