File tree 1 file changed +8
-0
lines changed
1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,8 @@ if !exists("cpp_no_cpp11")
42
42
syn keyword cppConstant ATOMIC_INT_LOCK_FREE ATOMIC_LONG_LOCK_FREE
43
43
syn keyword cppConstant ATOMIC_LLONG_LOCK_FREE ATOMIC_POINTER_LOCK_FREE
44
44
syn region cppRawString matchgroup =cppRawStringDelimiter start =+ \% (u8\| [uLU]\)\= R"\z ([[:alnum:]_{}[\] #<>%:;.?*\+\- /\^ &|~!=,"']\{ ,16}\) (+ end=+)\z 1"+ contains=@Spell
45
+ syn match cppCast " \<\( const\| static\| dynamic\) _pointer_cast\s *<" me =e - 1
46
+ syn match cppCast " \<\( const\| static\| dynamic\) _pointer_cast\s *$"
45
47
endif
46
48
47
49
" C++ 14 extensions
@@ -53,6 +55,12 @@ if !exists("cpp_no_cpp14")
53
55
syn case match
54
56
endif
55
57
58
+ " C++ 17 extensions
59
+ if ! exists (" cpp_no_cpp17" )
60
+ syn match cppCast " \< reinterpret_pointer_cast\s *<" me =e - 1
61
+ syn match cppCast " \< reinterpret_pointer_cast\s *$"
62
+ endif
63
+
56
64
" C++ 20 extensions
57
65
if ! exists (" cpp_no_cpp20" )
58
66
syn keyword cppStatement co_await co_return co_yield requires
You can’t perform that action at this time.
0 commit comments