Monday, June 21, 2010

Re: Highlight preprocessor blocks?

famished@fastmail.fm wrote:
> Is it possible to have Vim set the background colour of a multi-line
> block
> of code surrounded by preprocessor directives? For example (C code):
>
> int func1() {
> int i;
> for (i=0;i<MAX;i++) {
> func2(array[i]);
> #if DEBUG
> printf("Called func2 with %d\n",array[i]);
> debugfunc(i);
>

No comments: