elixir-editors / elixir-editors/emacs-elixir

Inconsistent indenation in for comprehensions

Open
#365 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Emacs Lisp
Stars
454
Forks
93
PR merge metrics
No merged PRs in 30d

Description

When we indent the for comprehension, because of the comma we get one tab indentation
Like this:

```
for x <- 1..100,
y <- 1..100,
z <- 1..100,
do: {x, y, z}
```

When clearly the default indentation should align all the generators in one line, like this

```
for x <- 1..100,
y <- 1..100,
z <- 1..100,
do: {x, y, z}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.