On Feb 27, 12:37 pm, hsitz <[email protected]> wrote: > On Feb 27, 12:17 am, hsitz <[email protected]> wrote: > > > I'm having a problem with VIm recognizing the fold level lines in a > > document. I have a syntax file with a number of folded regions > > defined. I can consistently add a new line in a way that makes Vim > > fail to adjust the new line to have the proper fold level. If I > > execute 'syn sync fromstart' manually (or any other sync command) the > > foldlevel gets adjusted properly. > > I've made a short video that illustrates the problem.
I wasn't to solve the problem using syntax-based folding. However, I was able to switch to expression-based folding that has identical folding and _does_ properly adjust parent line foldlevels when new sublevels are added. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
