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.yaml20
1 files changed, 19 insertions, 1 deletions
diff --git a/data/stylish-haskell.yaml b/data/stylish-haskell.yaml
index 2398e6b..3bed473 100644
--- a/data/stylish-haskell.yaml
+++ b/data/stylish-haskell.yaml
@@ -87,8 +87,26 @@ steps:
# Default: inline
long_list_align: inline
+ # Align empty list (importing instances)
+ #
+ # Empty list align has following options
+ #
+ # - inherit: inherit list_align setting
+ #
+ # - right_after: () is right after the module name:
+ #
+ # > import Vector.Instances ()
+ #
+ # Default: inherit
+ empty_list_align: inherit
+
# List padding determines indentation of import list on lines after import.
- # This option affects 'list_align' and 'long_list_align'.
+ # This option affects 'long_list_align'.
+ #
+ # - <integer>: constant value
+ #
+ # - module_name: align under start of module name.
+ # Useful for 'file' and 'group' align settings.
list_padding: 4
# Separate lists option affects formating of import list for type