On Mi, 24 Sep 2014, Paul Marshall wrote: > Where a buffer has expression folding defined (foldmethod=expr), it is also > applied to help text when help is requested. This can have unintended > consequences. > > Is there any chance that folding can be disabled for help (or possibly > switch to a built in folding scheme more suited to help files)? > > A nasty workaround is for my fold expression function to check the path of > the current buffer to see if it looks like a help file. > > Version 7.4 x86 Win 7
You should you used :setlocal instead of :set? (Read :h setlocal and :h global-local) That should prevent this. Best, Christian -- Was ist das? Fliegt in der Luft und macht "mus mus"? Biene im Rückwärtsgang. -- -- 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 --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
