Closed svermeulen closed 10 years ago
Oh, or calling AccordionAll 1
instead of just Accordion 1
also fixes it.
This is definitiely a bug as the local setting should take precedence over the global setting. I'll look into it soon.
Sorry for the delay; I ended up implementing this in a feature branch that adds support for horizontal splits as I didn't want to rewrite it once I merged that in. I wanted to test that a bit more extensively before pushing it out. Please let me know if you notice this or any other issues after upgrading to version 0.6.0.
Uses vanilla vim I can reproduce this issue by doing the following:
<c-w>v<c-w>v<c-w>v
(create three splits):AccordionAll 2
(correctly reduces it down to two):Accordion 1
(does nothing)Executing Accordion 1` twice does fix it however