diff -ur vim-7.2.245.orig/runtime/syntax/cpp.vim
vim-7.2.245/runtime/syntax/cpp.vim
--- vim-7.2.245.orig/runtime/syntax/cpp.vim 2009-12-15 19:17:48.000000000
+0800
+++ vim-7.2.245/runtime/syntax/cpp.vim 2009-12-15 19:18:04.000000000 +0800
@@ -33,6 +33,14 @@
syn keyword cppNumber NPOS
syn keyword cppBoolean true false
+if !exists("cpp_no_cpp0x") " ISO C++0x
+ syn keyword cppOperator alignof
+ syn keyword cppType char16_t char32_t decltype
+ syn keyword cppStorageClass constexpr thread_local
+ syn keyword cppConstant nullptr
+ syn keyword cppStatement static_assert
+endif
+
" The minimum and maximum operators in GNU C++
syn match cppMinMax "[<>]?"
@@ -54,6 +62,7 @@
HiLink cppStructure Structure
HiLink cppNumber Number
HiLink cppBoolean Boolean
+ HiLink cppConstant Constant
delcommand HiLink
endif
signature.asc
Description: This is a digitally signed message part.
