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.yaml16
1 files changed, 16 insertions, 0 deletions
diff --git a/data/stylish-haskell.yaml b/data/stylish-haskell.yaml
index 8f42eff..8c57f51 100644
--- a/data/stylish-haskell.yaml
+++ b/data/stylish-haskell.yaml
@@ -126,6 +126,22 @@ steps:
# Default: true
separate_lists: true
+ # Space surround option affects formatting of import lists on a single
+ # line. The only difference is single space after the initial
+ # parenthesis and a single space before the terminal parenthesis.
+ #
+ # - true: There is single space associated with the enclosing
+ # parenthesis.
+ #
+ # > import Data.Foo ( foo )
+ #
+ # - false: There is no space associated with the enclosing parenthesis
+ #
+ # > import Data.Foo (foo)
+ #
+ # Default: false
+ space_surround: false
+
# Language pragmas
- language_pragmas:
# We can generate different styles of language pragma lists.