summaryrefslogtreecommitdiffhomepage
path: root/data/stylish-haskell.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'data/stylish-haskell.yaml')
-rw-r--r--data/stylish-haskell.yaml19
1 files changed, 19 insertions, 0 deletions
diff --git a/data/stylish-haskell.yaml b/data/stylish-haskell.yaml
index 8c57f51..a5789d1 100644
--- a/data/stylish-haskell.yaml
+++ b/data/stylish-haskell.yaml
@@ -64,6 +64,25 @@ steps:
# Default: after_alias
list_align: after_alias
+ # Keep the same alignment between imports in a group:
+ #
+ # - true: a little more readable
+ #
+ # > import qualified Data.List as List (concat, foldl, foldr,
+ # > init, last, length)
+ # > import qualified Data.List.Extra as List (concat, foldl, foldr,
+ # > init, last, length)
+ #
+ # - false: diff-safe
+ #
+ # > import qualified Data.List as List (concat, foldl, foldr, init,
+ # > last, length)
+ # > import qualified Data.List.Extra as List (concat, foldl, foldr,
+ # > init, last, length)
+ #
+ # Default: true
+ list_same_align: true
+
# Long list align style takes effect when import is too long. This is
# determined by 'columns' setting.
#