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.
Asked
Active
Viewed 59 times
0

4Z4T4R
- 2,340
- 2
- 26
- 45
1 Answers
1
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.

4Z4T4R
- 2,340
- 2
- 26
- 45
-
2That `~/.vimviews` is non-standard, and presumably comes from spf13. Let romainl tell you why Vim distributions are prone to cause such grief. – Ingo Karkat Feb 20 '14 at 10:38
-
1@IngoKarkat, I decided to not care anymore. – romainl Feb 20 '14 at 12:17
-
@romainl apocalypse now? – mMontu Feb 20 '14 at 13:09
-
3@romainl Your rants will be missed; I hope you'll channel your energy to more worthwhile advocacy ;-) – Ingo Karkat Feb 20 '14 at 13:20