While that removes the error highlight, it also removes the error highlight
for correct cases! I'm not familiar with the vim language but I'll take a
look to see if I can fix the syntax file.

On Sat, Sep 27, 2014 at 11:25 AM, Bram Moolenaar <[email protected]> wrote:

>
> Shahbaz Youssefi wrote:
>
> > I'm reporting a highlight error in C files. A minimal example is:
> >
> > function(&(struct X){ .field = value });
> >
> > The error is that the { of the compound literal is marked red, as if
> it's an error.  If the value is in quotations, such as this:
> >
> > function(&(struct X){ .field = "value" });
> >
> > Then both { and } of the compound literal is marked red.
>
> Try this before editing the C file:
>         :let c_no_curly_error = 1
>
> --
> hundred-and-one symptoms of being an internet addict:
> 189. You put your e-mail address in the upper left-hand corner of
> envelopes.
>
>  /// 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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui