stylish-haskell icon indicating copy to clipboard operation
stylish-haskell copied to clipboard

`list_padding` config option behaviour

Open unam3 opened this issue 2 years ago • 0 comments

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)

unam3 avatar Sep 22 '21 08:09 unam3