elixir-editors / elixir-editors/emacs-elixir
Specs indentation of return value when splitting on multiple lines
Open
- Dominant language
- Emacs Lisp
- Stars
- 454
- Forks
- 93
- PR merge metrics
- No merged PRs in 30d
Description
Currently:
``` elixir
@callback init(args :: term) ::
{:ok, state} |
{:ok, state, timeout | :hibernate} |
:ignore |
{:stop, reason :: any} when state: any
```
Expected:
``` elixir
@callback init(args :: term) ::
{:ok, state} |
{:ok, state, timeout | :hibernate} |
:ignore |
{:stop, reason :: any} when state: any
```
This is the style used in the Elixir gen_server wrapper code, and other places.
Contributor guide
Assessment
This issue has not been assessed yet.