Thursday, December 6, 2012

foldmethod=indent -> How to fold comment lines?

Dear Vimers,

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?

Kind regards!

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

No comments:

Post a Comment