summaryrefslogtreecommitdiffstats
path: root/syntax/cpp.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2013-10-07 11:07:27 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2013-10-07 11:07:27 +0200
commite108a087b4a5a3acb55786643e5289a64c8b0c60 (patch)
treef0be0885c7076f64373a127acfd97e9bce6b70a2 /syntax/cpp.vim
parentb3257271dbd3075507db3e8ad2e76571901c969d (diff)
downloadvim-polyglot-e108a087b4a5a3acb55786643e5289a64c8b0c60.tar.gz
vim-polyglot-e108a087b4a5a3acb55786643e5289a64c8b0c60.zip
Update latex, html, ruby, c, cpp
Diffstat (limited to 'syntax/cpp.vim')
-rw-r--r--syntax/cpp.vim5
1 files changed, 5 insertions, 0 deletions
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