>> The following patch adds foldexpr option that will fold sections separated by
>> sequences of `=' (foldlevel=1) and `-' (foldlevel=2).

Just to confirm: The patch works great, thanks ZyX!

> What’s the general practice for this?  Do we set foldexpr from
> ftplugin files, or is that up to the user to add to after/ftplugin?

I thought the point of /after/ftplugin/ was for users to be able to
override unwanted settings in scripts under /ftplugin/?

Either way I'd like for this patch to be included because it clearly
adds value for people who like text folding (like me). Also people that
don't like text folding probably won't have it enabled anyway and thus
won't be bothered by the addition.

 - Peter Odding

-- 
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

Reply via email to