diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2014-06-08 13:18:33 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2014-06-08 13:18:33 +0200 |
commit | 45273d44d4b1bd9a1be431c1a98f9046ed3a5c79 (patch) | |
tree | 7b8fa566b3da949b422804c3bb9eaf9c51b9b69e /syntax/cpp.vim | |
parent | e961fa80374369c9e299b333639db0dc43d1f126 (diff) | |
download | vim-polyglot-45273d44d4b1bd9a1be431c1a98f9046ed3a5c79.tar.gz vim-polyglot-45273d44d4b1bd9a1be431c1a98f9046ed3a5c79.zip |
Major update
Diffstat (limited to 'syntax/cpp.vim')
-rw-r--r-- | syntax/cpp.vim | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/syntax/cpp.vim b/syntax/cpp.vim index f999fe7f..62dbe118 100644 --- a/syntax/cpp.vim +++ b/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 13 " For version 5.x: Clear all syntax items " For version 6.x: Quit when a syntax file was already loaded @@ -39,9 +39,7 @@ 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 + 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++ @@ -65,7 +63,7 @@ if version >= 508 || !exists("did_cpp_syntax_inits") HiLink cppStructure Structure HiLink cppBoolean Boolean HiLink cppConstant Constant - HiLink cppRawDelim cFormat + HiLink cppRawDelimiter Delimiter HiLink cppRawString String delcommand HiLink endif |