summaryrefslogtreecommitdiffhomepage
path: root/data
diff options
context:
space:
mode:
authorRupert Horlick <ruhatch@me.com>2019-06-12 11:25:56 +0100
committerJasper Van der Jeugt <m@jaspervdj.be>2019-06-12 12:25:56 +0200
commit660b0c894461a780c7bda8f2231a5101f5f6f164 (patch)
tree11c27558df2db8c9e9906b5c65d9c093c3b33e11 /data
parentf253f37362be840bafe2c82a8d7fb284046fda48 (diff)
downloadstylish-haskell-660b0c894461a780c7bda8f2231a5101f5f6f164.tar.gz
Add with_module_name option to list_align
Diffstat (limited to 'data')
-rw-r--r--data/stylish-haskell.yaml12
1 files changed, 12 insertions, 0 deletions
diff --git a/data/stylish-haskell.yaml b/data/stylish-haskell.yaml
index 6d43499..4677b4a 100644
--- a/data/stylish-haskell.yaml
+++ b/data/stylish-haskell.yaml
@@ -56,6 +56,18 @@ steps:
# > import qualified Data.List as List (concat, foldl, foldr, head,
# > init, last, length)
#
+ # - with_module_name: Import list is aligned `list_padding` spaces after
+ # the module name.
+ #
+ # > import qualified Data.List as List (concat, foldl, foldr, head,
+ # init, last, length)
+ #
+ # This is mainly intended for use with `pad_module_names: false`.
+ #
+ # > import qualified Data.List as List (concat, foldl, foldr, head,
+ # init, last, length, scanl, scanr, take, drop,
+ # sort, nub)
+ #
# - new_line: Import list starts always on new line.
#
# > import qualified Data.List as List