elixir-editors / elixir-editors/language-elixir
Indentation of multiline maps/keyword lists/structs
Open
- Dominant language
- CoffeeScript
- Stars
- 178
- Forks
- 41
- PR merge metrics
- No merged PRs in 30d
Description
If i try to indent a multiline map the plugin will indent the map incorrectly. For example, the auto-indented map will look like this.
```
%{foo: "bar",
baz: "buzz"}
```
Where it should be
```
%{foo: "bar",
baz: "buzz"}
```
of note, if you try to make a map with newlines (i.e. javascript style), it auto-indents fine.
```
%{
foo: "bar",
baz: "buzz
}
```
however, this is not usually how elixir code is formatted. The same is true for keyword lists as well as structs.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.