summaryrefslogtreecommitdiffstats
path: root/runtime/syntax/cpp.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2014-05-22 18:26:40 +0200
committerBram Moolenaar <Bram@vim.org>2014-05-22 18:26:40 +0200
commit13600303c539816933e8b74d14cc518b00f250f8 (patch)
tree13c219a0463d31180543b48567aa67c7ba6f919a /runtime/syntax/cpp.vim
parent90013c6a751e6574fbe49b529a3dbf1eacbef43d (diff)
Runtime file updates.
Diffstat (limited to 'runtime/syntax/cpp.vim')
-rw-r--r--runtime/syntax/cpp.vim5
1 files changed, 4 insertions, 1 deletions
diff --git a/runtime/syntax/cpp.vim b/runtime/syntax/cpp.vim
index ec95020e22..04fc73342c 100644
--- a/runtime/syntax/cpp.vim
+++ b/runtime/syntax/cpp.vim
@@ -2,7 +2,7 @@
" Language: C++
" Current Maintainer: vim-jp (https://github.com/vim-jp/cpp-vim)
" Previous Maintainer: Ken Shan <ccshan@post.harvard.edu>
-" Last Change: 2012 Jun 14
+" Last Change: 2014 May 14
" For version 5.x: Clear all syntax items
" For version 6.x: Quit when a syntax file was already loaded
@@ -39,6 +39,7 @@ if !exists("cpp_no_cpp11")
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 +63,8 @@ if version >= 508 || !exists("did_cpp_syntax_inits")
HiLink cppStructure Structure
HiLink cppBoolean Boolean
HiLink cppConstant Constant
+ HiLink cppRawDelimiter Delimiter
+ HiLink cppRawString String
delcommand HiLink
endif