Recent version of Vim support syntax highlighting for C++11 raw string
literals works great, but indentation still does not work.  Instead,
cindent tries to indent the string like it's code.

For example, try to type the following (tested on 7.4.589):

const char* s = R"(
  test {
    # comment
    field: 123
  }
)";

As you type, vim will annoyingly move `# comment` and `field:` to the
first column because it thinks they are a preprocessor macro and a
label, respectively.

Any chance this could be fixed?

Thanks!
Mark

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to