> Well I obtain all folded because there are
> {
> ...
>
> }
>
> But the question is how I can fold only the // comments including the empty
> lines and the /*...*/, but not the {}.
Use a :g command to close the folds. Starting with all folds open, do:
:g#/\*#foldclose
I don't think // folds are created with the C definitions though.
--
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