stylish-haskell
stylish-haskell copied to clipboard
Align of mutl_way_if incorrect
In my .stylish-haskell.yaml
I have:
# Never align the right hand side of some elements.
- simple_align:
cases: never
top_level_patterns: never
records: never
multi_way_if: never
- squash: {}
and after using stylish-haskell
on one of my files, I get the following as part of the diff:
st <- getFileStatus fp
if
| isRegularFile st -> pure (fp : files, dirs)
- | isDirectory st -> pure (files, fp : dirs)
- | otherwise -> pure (files, dirs)
+ | isDirectory st -> pure (files, fp : dirs)
+ | otherwise -> pure (files, dirs)
Using version 0.14.6.0
.