Gautam Iyer wrote: > I just checked out C folding in Vim 7. Thanks a TON, it works great. > > Just one request though -- The "#if 0" constructs don't get folded as > comments do. > > I would suggest enabling / disabling folding of #if 0 constructs > independently of the "c_no_comment_fold" variable, since some people use > #if0's to hide old code ... :). > > The updated syntax file is attached. It uses the c_no_if0_fold variable > for if0 folding. If you like it, some mention of this 'c_no_if0_fold' > variable should be made in the docs. If you don't like it, it get's > added to my ~/.vim/after/syntax folder ... :)
This looks like a good idea. I'll include it. -- "Never be afraid to tell the world who you are." -- Anonymous /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ download, build and distribute -- http://www.A-A-P.org /// \\\ help me help AIDS victims -- http://www.ICCF.nl ///