elixir-editors / elixir-editors/emacs-elixir
incorrect indentation if do is on its own line
Open
bug
- Dominant language
- Emacs Lisp
- Stars
- 454
- Forks
- 93
- PR merge metrics
- No merged PRs in 30d
Description
The following code:
``` Elixir
defmodule Example do
def foo0
do
"0"
end
def foo1
do
"1"
end
def foo2
do
"2"
end
end
```
Is indented like this:

I know that `do` on its own line is not very common, but indentation should not grow with each definition
Contributor guide
Assessment
This issue has not been assessed yet.