Skip to content

Commit e99526c

Browse files
committed
haskell-indentation better defaults
1 parent 680f462 commit e99526c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

haskell-indentation.el

+2-2
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ modes (e.g. fill-column-indicator)."
7676
:group 'haskell-indentation)
7777

7878

79-
(defcustom haskell-indentation-indent-leftmost 'both
79+
(defcustom haskell-indentation-indent-leftmost t
8080
"Indent to the left margin after certain keywords (for example after let .. in, case .. of). If set to t it will only indent to the left. If nil only relative to the containing expression. If set to the keyword 'both then both positions are allowed."
8181
:type 'symbol
8282
:group 'haskell-indentation)
@@ -86,7 +86,7 @@ modes (e.g. fill-column-indicator)."
8686
:type 'integer
8787
:group 'haskell-indentation)
8888

89-
(defcustom haskell-indentation-starter-offset 1
89+
(defcustom haskell-indentation-starter-offset 2
9090
"Extra indentation after an opening keyword (e.g. let)."
9191
:type 'integer
9292
:group 'haskell-indentation)

0 commit comments

Comments
 (0)