David Brown wrote:
> A macro like this:
>
> #define FOO ((fooy) { field: 4 })
>
> causes vim to highlight the braces (in an angry fashion), and seems to
> cause it consider all of the remaining braces in the file to be in
> error as well.
>
> Any ideas?
Highlighting curly braces inside parenthesis is about the only way to
detect a missing closing parenthesis.
You can disable this with:
:let c_no_curly_error = 1
You won't be able to see missing parenthesis then. Blame C99 to make a
syntax that's hard to check.
--
LAUNCELOT: I am, sir. I am a Knight of King Arthur.
FATHER: 'Mm ... very nice castle, Camelot ... very good pig country....
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// 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://ICCF-Holland.org ///