Fix support for folding in vi normal mode
This should solve the //FIXME folding
that is present in the Vi emulation mode, and fixes the z family of normal mode commands.
I am not sure if these behaviors are fully congruent with what is expected of them. Someone more familiar with Vim folding should probably double-check this.
-
commandExpandLocal
seems to behave as expected, Vim expects you to be on the correct line tozo
a fold. - For the others I am less sure.
I left in some comments drawing attention to this; these should be rebased out before merging.
Edited by Quinten Kock