elixir-editors / elixir-editors/emacs-elixir
over-indents in `else` block when function split over multiple lines
Open
- Dominant language
- Emacs Lisp
- Stars
- 454
- Forks
- 93
- PR merge metrics
- No merged PRs in 30d
Description
The `do_something` function call should align vertically with the `:ignore_me` in the `if` block. When all the arguments are on the same line it works as expected, but for long function calls split over multiple lines it over-indents.
**Expected behavior:**
```
if abc do
:ignore_me
else
do_something(x,
y)
end
```
**Actual behavior:**
```
if abc do
:ignore_me
else
do_something(x,
y)
end
```
## Versions
os: Ubuntu 16.04.1
elixir-mode: 20161015.1200
emacs: GNU Emacs 25.1.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.20.9) of 2016-11-15
Contributor guide
Assessment
This issue has not been assessed yet.