0

I had folding just stop working in my Python sources... without a rhyme or reason. The fix was't immediately obvious and I did not find an answer on SO... I'm using spf13vim and I have tried set foldmethod=indent six ways to Sunday and no dice... I have nothing else futzing with folding in my .vimrc.local and I have already tried updating spf13vim although the problem just started willy nilly while I was coding after writing my buffer to disk.

4

1 回答 1

1

当折叠(或任何东西)在 VIM 中出错时,无论你有 spf13vim 还是任何其他精心制作的 .vimrc mod,都从这个开始......

rm ~/.vimviews/*

...并重新启动 vim。它用魔法解决了这个问题。我希望这可以帮助某人保持年轻。

于 2014-02-20T10:33:17.830 回答