summaryrefslogtreecommitdiffhomepage
path: root/data
diff options
context:
space:
mode:
authorJasper Van der Jeugt <m@jaspervdj.be>2020-10-08 14:34:34 +0200
committerJasper Van der Jeugt <m@jaspervdj.be>2020-10-08 14:35:26 +0200
commit9f1e714f3d5ebee208a25fe8adaf89c34de5b04b (patch)
tree2b8add0f5fee402aa3a23ad52d9223c7282daadf /data
parenteab76694dfbbd10fce74b8ac59bf523a96cf37fa (diff)
downloadstylish-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.yaml15
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: