neovimhaskell/haskell-vim

No indentation for square brackets on new line

Keyamoon opened this issue · 1 comments

Shouldn't square brackets be auto indented when started on a new line?

Bad indentation example:

a = map (+1)
[ 1
, 2
, 3
]

No, because it would break code like this:

foo = do
  x   <- bar
  [y] <- quux -- this would break