Anyway in the worst case I'll just disable syntax folding for buffers
where line('$')>  1000 holds. At least then I still get to enjoy all of
the other goodies Vim has to offer. I'm definitely not switching back to
an IDE :-P. I'll keep vim-dev up to date in case I make any progress on
this issue.

I think another good worst-case workaround, would be to enable syntax
folding for the initial buffer load, then switch to manual. Folds
won't update, but the folds present when opening the file will at
least be there. You could even switch to syntax folding and back to
manual again on a BufWritePost autocmd to refresh the folds at a point
in your editing where they should be pretty stable.

Still not as good as fixing the underlying issue, obviously.

Thanks for the suggestion, that's much better than just disabling syntax folding altogether! I actually think I won't mind that much if the folding is only updated when I :write.

 - Peter

--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui