> > I would guess it's some kind of error highlighting -- semicolons are not > > allowed inside square brackets (unless they are inside a string or a > > comment) -- and because the square bracket has not been closed the > > closing curly brace in line 8 is an error, too. > > Is there any way that I could turn it off? >
You can disable c highlighting bracket errors by putting "let c_no_bracket_error=1" in your .vimrc. Look at :help c.vim for more info. I'd be interested to know why you don't want it to highlight those errors, I can't see a situation where you would want such formatting! Max