diff options
author | Ondřej Janošík <j.ondra14@gmail.com> | 2015-09-10 19:23:25 +0200 |
---|---|---|
committer | Ondřej Janošík <j.ondra14@gmail.com> | 2015-09-10 19:48:09 +0200 |
commit | 9bface0dfe50822eca317fd0d7cb89f5f3360279 (patch) | |
tree | 80b8288838115b2aa3d2db10f629317777be356b /data | |
parent | d19a98e05858fbca2562564ce604a1af08cc334f (diff) | |
download | stylish-haskell-9bface0dfe50822eca317fd0d7cb89f5f3360279.tar.gz |
Separate lists option for imports
Diffstat (limited to 'data')
-rw-r--r-- | data/stylish-haskell.yaml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/data/stylish-haskell.yaml b/data/stylish-haskell.yaml index 3d4e98a..28b994e 100644 --- a/data/stylish-haskell.yaml +++ b/data/stylish-haskell.yaml @@ -80,6 +80,23 @@ steps: # This option affects 'list_align' and 'long_list_align'. list_padding: 4 + # Separate lists option affects formating of import list for type + # or class. The only difference is single space between type and list + # of constructors, selectors and class functions. + # + # - true: There is single space between Foldable type and list of it's + # functions. + # + # > import Data.Foldable (Foldable (fold, foldl, foldMap)) + # + # - false: There is no space between Foldable type and list of it's + # functions. + # + # > import Data.Foldable (Foldable(fold, foldl, foldMap)) + # + # Default: true + separate_lists: true + # Language pragmas - language_pragmas: # We can generate different styles of language pragma lists. |