diff options
author | Jasper Van der Jeugt <m@jaspervdj.be> | 2020-10-08 14:34:34 +0200 |
---|---|---|
committer | Jasper Van der Jeugt <m@jaspervdj.be> | 2020-10-08 14:35:26 +0200 |
commit | 9f1e714f3d5ebee208a25fe8adaf89c34de5b04b (patch) | |
tree | 2b8add0f5fee402aa3a23ad52d9223c7282daadf /data | |
parent | eab76694dfbbd10fce74b8ac59bf523a96cf37fa (diff) | |
download | stylish-haskell-9f1e714f3d5ebee208a25fe8adaf89c34de5b04b.tar.gz |
Add new option for aligning groups of adjacent items
Co-authored-by: 1computer1 <onecomputer00@gmail.com>
Diffstat (limited to 'data')
-rw-r--r-- | data/stylish-haskell.yaml | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/data/stylish-haskell.yaml b/data/stylish-haskell.yaml index 9709184..e756b16 100644 --- a/data/stylish-haskell.yaml +++ b/data/stylish-haskell.yaml @@ -89,12 +89,17 @@ steps: # Align the right hand side of some elements. This is quite conservative # and only applies to statements where each element occupies a single - # line. All default to true. + # line. + # Possible values: + # - always - Always align statements. + # - adjacent - Align statements that are on adjacent lines in groups. + # - never - Never align statements. + # All default to always. - simple_align: - cases: true - top_level_patterns: true - records: true - multi_way_if: true + cases: always + top_level_patterns: always + records: always + multi_way_if: always # Import cleanup - imports: |