Hi,

I'm running vim 7.3 (2010 Aug 15), compiled from source.  I don't mind
running a developmental build, as long as it's relatively stable, if that's
needed.

As many of you probably know, c++11 supports raw string literals.  I'm not
sure which gcc version added support, but I'm running an "experimental"
source build, 4.7.0 20111106.  The following code works:

string foo = R"(foo"bar this is awesome)";

Instead of having to use:

string foo = "(foo\"bar this is awesome";

Obviously not much difference there, but in one of the programs I'm
writing, it's going to save hundreds or thousands of escapes, and many
headaches.

Only issue is that vim doesn't recognize the new syntax, and shows the
"(foo" as a string, and everything else outside.  It shows this as a
keyword, and is confused by the closing parenthesis since the first one was
in quotes.


Any way to get vim syntax highlighting to recognize this?

Thanks!

Mike

-- 
You received this message from the "vim_use" 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

Reply via email to