Twinside/vim-haskellFold — Issue #2: Code blocks close to one another get folded in same fold
Author: sp3ctum
Created: 2012-01-29 21:01:32+00:00
State: open

Hi!
Great plugin, works nicely with haskell's already elegant syntax.

I found out, however, that if I create two function definitions and
place them too close to one another, they are included in the same
fold.
Here's an example file:

foo :: String
foo = "bar"

{--
Comments for function bar
--}
bar :: String
bar = "baz"

When I hit za to close / open the fold on either function definition,
both functions are folded into the same fold. I would expect only the
function I am issuing the fold command 'za' on to be folded.