We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 432b2fc commit 0357d5dCopy full SHA for 0357d5d
syntax/cpp.vim
@@ -53,6 +53,15 @@ if !exists("cpp_no_cpp14")
53
syn case match
54
endif
55
56
+" C++ 20 extensions
57
+if !exists("cpp_no_cpp20")
58
+ syn keyword cppStatement co_await co_return co_yield requires
59
+ syn keyword cppStorageClass consteval constinit
60
+ syn keyword cppStructure concept
61
+ syn keyword cppType char8_t
62
+ syn keyword cppModule import module export
63
+endif
64
+
65
" The minimum and maximum operators in GNU C++
66
syn match cppMinMax "[<>]?"
67
@@ -71,6 +80,7 @@ hi def link cppConstant Constant
71
80
hi def link cppRawStringDelimiter Delimiter
72
81
hi def link cppRawString String
73
82
hi def link cppNumber Number
83
+hi def link cppModule Include
74
84
75
85
let b:current_syntax = "cpp"
76
86
0 commit comments