> in c++0x it will be possible to use lambda functions.

> So, for example, this:

> [](int n) { return n+ 1; }

> Will become valid c++.

> Unfortunately it breaks current C++ highlighting.
> After a line like the one above, all curly brackets will be highlighted by VIM as “unmatched”, making reading the code really hard.

> Is there a quick way to fix that?

You can vote for the C++ standard to not add things like this to make
the language even more cryptic.

Well, perhaps that’s not a quick way, but it will make programmers who
try to decipher C++ programs a lot more sane.