Closed
Description
I find myself writing Haskell with mostly 4-space indents from the prior line. That applies in a lot of cases, e.g.
foobar :: Foo -> Bar
foobar foo = doSomething $
withALong subexpression (thatDoesnt fitOn) thePrevious $ line foo
or
data Foo = Foo
{ fooBar :: Bar
, fooBaz :: Baz
, fooQux :: Qux
} deriving (Eq, Show, Ord)
In fact, I find myself using 4-space indentation much more often than "align under start of this expression", which seems to be the haskell-mode
approach.
Can I use haskell-mode
with its indentation features disabled? 4-space indents are really easy to maintain by hand, and I find haskell-mode
's other features very useful!