I re-installed that plug-in and copied your config but I’m still seeing the same issue.
Let’s say you have this Ruby file:
If I move my cursor to the line containing
def a and hit
zc, I would expect only the first method to be folded, but instead all three methods are folded.
However, if I quit vim, re-open the file and immediately hit
zR (open all foldings), then nothing happens visually but
zc then begins to work as expected. It’s as if the folding state is somehow messed up initially and
zR fixes it.
So I’m not sure if I’m misunderstanding how to use folding, or there is some problem with my setup, or a bug in the plug-in.