문제

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.

도움이 되었습니까?

해결책

When folding (or anything) goes awry in VIM, whether you have spf13vim or any other elaborate .vimrc mod, begin with this...

rm ~/.vimviews/*

...and restart vim. It cleared this problem up with magic. I hope this helps someone stay young.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top