Ben Schmidt wrote:

> Could the attached changes be incorporated into the syntax/c.vim
> included with Vim? I put them together a couple of years ago in response
> to a post on one of the mailing lists.
> 
> They add support for #if 0...#else and #if 1...#else to highlight the
> relevant parts as comments.
> 
> I have been using them since that time and haven't encountered any
> problems.
> 
> I have now incorporated some changes that have been made to syntax/c.vim
> since I originally edited it, plus refactored the names for my new
> syntax groups so they are more readable, and incorporated the change
> raised today on vim_use. It seems to still work just fine.
> 
> I'd love it if you could include this in the official Vim runtimes.

Thanks.

Some users may have set specific highlighting for cCppSkip, cCppOut2 or
cCppOut.  Can you make the patch so that the meaning of these doesn't
changed?

-- 
Support your right to bare arms!  Wear short sleeves!

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

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

Raspunde prin e-mail lui