Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit cc7019b

Browse files
committed
Add new C++23 keywords from <type_traits>
1 parent d06e266 commit cc7019b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎after/syntax/cpp.vim

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
" Original Author: Jon Haggblad <https://github.com/octol>
55
" Maintainer: bfrg <https://github.com/bfrg>
66
" Website: https://github.com/bfrg/vim-cpp-modern
7-
" Last Change: Oct 23, 2023
7+
" Last Change: Oct 13, 2023
88
"
99
" This syntax file is based on:
1010
" https://github.com/octol/vim-cpp-enhanced-highlight
@@ -173,9 +173,9 @@ endif
173173

174174
" C++23 extensions {{{1
175175
if !exists('cpp_no_cpp23')
176-
syntax keyword cppSTLtype basic_stacktrace stacktrace_entry is_scoped_enum mdspan extents default_accessor layout_left layout_right layout_stride flat_set flat_map flat_multiset flat_multimap
176+
syntax keyword cppSTLtype basic_stacktrace stacktrace_entry is_scoped_enum mdspan extents default_accessor layout_left layout_right layout_stride flat_set flat_map flat_multiset flat_multimap is_implicit_lifetime reference_constructs_from_temporary reference_converts_from_temporary
177177
syntax keyword cppSTLtypedef stacktrace dextents
178-
syntax keyword cppSTLbool is_scoped_enum_v
178+
syntax keyword cppSTLbool is_implicit_lifetime_v is_scoped_enum_v reference_constructs_from_temporary_v reference_converts_from_temporary_v
179179
syntax keyword cppSTLfunction invoke_r
180180
syntax keyword cppSTLtype expected unexpected unexpect_t bad_expected_access
181181
syntax keyword cppSTLvariable unexpect

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /