haskell / haskell/stylish-haskell

`list_padding` config option behaviour

Open
#380 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
1k
Forks
153
PR merge metrics
No merged PRs in 30d

Description

https://github.com/haskell/stylish-haskell/blob/1c716235a72474c5a4e65b07f4f3a32602cda231/data/stylish-haskell.yaml#L234-L243

My understanding of this option with value 4 is that after newline on long import string after padding in 4 spaces must be things to import. e.g. from:
```
import Control.Exception (Exception, bracket_, throw)
```

to:
```
import Control.Exception (Exception, bracket_,
throw)
```

But it's seems like it's not the case with actual output with `stylish-haskell 0.12.2.0`:
```
import Control.Exception (Exception, bracket_,
throw)
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.