Wednesday, January 6, 2010

RE: #ifdef block's color

Hi,
I think you can modify the c syntax file, in $VIMRUNTIME\syntax\c.vim.
There are more region definition, but you will find the IF 0 definition, you should mod, that regexp to match #if  instead...
 
Br,
    Peter.


From: vim_use@googlegroups.com [mailto:vim_use@googlegroups.com] On Behalf Of ext Gusman
Sent: Wednesday, January 06, 2010 9:55 AM
To: vim_use@googlegroups.com
Subject: #ifdef block's color

Dear All,

Currently I'am working with a big source code in C language which have many #ifdef directives in there. It's so difficult for me to read the code flow while I can't determine which #ifdef is defined or not defined.

Is there plugin can make undefined #ifdef code block same as #if 0 code block.

Thank you in advance.



Best Regards,


Gusman Dharma P

No comments: