From e108a087b4a5a3acb55786643e5289a64c8b0c60 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Mon, 7 Oct 2013 11:07:27 +0200 Subject: Update latex, html, ruby, c, cpp --- syntax/cpp.vim | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'syntax/cpp.vim') diff --git a/syntax/cpp.vim b/syntax/cpp.vim index ec95020e..f999fe7f 100644 --- a/syntax/cpp.vim +++ b/syntax/cpp.vim @@ -39,6 +39,9 @@ if !exists("cpp_no_cpp11") syn keyword cppExceptions noexcept syn keyword cppStorageClass constexpr decltype syn keyword cppConstant nullptr + " A C++11 raw-string literal. It tries to follow 2.14.5 and 2.14.5.2 of the + " standard. + syn region cppRawString matchgroup=cppRawDelim start=+\%(u8\=\|[LU]\)\=R"\z(\%([ ()\\\d9-\d12]\@![\d0-\d127]\)\{,16}\)(+ end=+)\z1"+ contains=@Spell endif " The minimum and maximum operators in GNU C++ @@ -62,6 +65,8 @@ if version >= 508 || !exists("did_cpp_syntax_inits") HiLink cppStructure Structure HiLink cppBoolean Boolean HiLink cppConstant Constant + HiLink cppRawDelim cFormat + HiLink cppRawString String delcommand HiLink endif -- cgit v1.2.3