syntax/cpp.vim is updated. cpp raw string literals was broken.
And older code affect to 7.4.253 . I get some report that vim crashed with cpp syntax.
diff -r 32de51778c27 runtime/syntax/cpp.vim
--- a/runtime/syntax/cpp.vim Tue May 13 20:23:24 2014 +0200
+++ b/runtime/syntax/cpp.vim Wed May 14 10:39:47 2014 +0900
@@ -2,7 +2,7 @@
" Language: C++
" Current Maintainer: vim-jp (https://github.com/vim-jp/cpp-vim)
" Previous Maintainer: Ken Shan <ccs...@post.harvard.edu>
-" Last Change: 2012 Jun 14
+" Last Change: 2014 May 13
" For version 5.x: Clear all syntax items
" For version 6.x: Quit when a syntax file was already loaded
@@ -39,6 +39,9 @@
syn keyword cppExceptions noexcept
syn keyword cppStorageClass constexpr decltype
syn keyword cppConstant nullptr
+ syn region cppRawString matchgroup=cppRawDelimiter
+ \ start=+\%(u8\|[uLU]\)\=R"\z([[:alnum:]_{}[\]#<>%:;.?*\+\-/\^&|~!=,"']\{,16}\)(+
+ \ end=+)\z1"+ contains=@Spell
endif
" The minimum and maximum operators in GNU C++
@@ -62,6 +65,8 @@
HiLink cppStructure Structure
HiLink cppBoolean Boolean
HiLink cppConstant Constant
+ HiLink cppRawDelimiter Delimiter
+ HiLink cppRawString String
delcommand HiLink
endif
https://gist.github.com/a9c3deac5f8e60bb0091
Thanks.
- Yasuhiro Matsumoto
Done:
https://github.com/vim-jp/cpp-vim/commit/ff5dbc380b9ffc81c20aac863de1b4f9da2f33ca
Patch is here:
https://gist.github.com/mattn/ff2237c3c123d8286ebf
Thanks.