The following snippet breaks C syntax highlight for me. I'm using VIM 7.3.495
#define GDBUS_ARGS_INFO(args...) (const GDBusArgInfo[]) { args, { } }
static const GDBusMethodTable char_methods[] = {
{
"GetProperties", "", "a{sv}", get_properties,
.out_args = GDBUS_ARGS_INFO({ "properties", "a{sv}" })
},
{ }
};
If i change the "}" inside the string to \7xd, the problem disappears.
It appears that the problem is related to the open parenthesis and the
close bracket. If I use anything that do not open a parenthesis, then
it's back working.
Is there a way to properly fix this in c.vim?
Regards,
Lucas De Marchi
--
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