Re: foldmethod=indent -> How to fold comment lines?
- On Thursday, December 6, 2012 9:54:53 AM UTC-6, Asis Hallab wrote:
> Dear Vimers,:help fold-indent
> I have the following fold settings in my .vimrc:
> set foldmethod=indent
> set foldlevelstart=1
> set foldminlines=1
> Unfortunately comment lines are not folded away,
> while code lines are. See attached example.
> (Btw I apologize for sending a screenshot to an audience that loves
> the purity of text terminals.)
> Does anyone know, how to make vim fold comment lines, too?
Which refers you to:
Note changing this will fold the function into the comments that have the same indent level. If you don't want this you'll need to use a different foldmethod.
You received this message from the "vim_use" 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