8000 cpp.vim: Add __cplusplus constant. · vim-jp/vim-cpp@adbefa2 · GitHub
[go: up one dir, main page]

Skip to content

Commit adbefa2

Browse files
committed
cpp.vim: Add __cplusplus constant.
1 parent cac0189 commit adbefa2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

syntax/cpp.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ syn match cppCast "\<\(const\|static\|dynamic\|reinterpret\)_cast\s*$"
3232
syn keyword cppStorageClass mutable
3333
syn keyword cppStructure class typename template namespace
3434
syn keyword cppBoolean true false
35+
syn keyword cppConstant __cplusplus
3536

3637
" C++ 11 extensions
3738
if !exists("cpp_no_cpp11")

0 commit comments

Comments
 (0)
0