File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 2
2
" Language: C++
3
3
" Current Maintainer: vim-jp (https://github.com/vim-jp/vim-cpp)
4
4
" Previous Maintainer: Ken Shan <[email protected] >
5
- " Last Change: 2017 Jun 05
5
+ " Last Change: 2021 Jan 12
6
6
7
7
" quit when a syntax file was already loaded
8
8
if exists (" b:current_syntax" )
@@ -58,12 +58,6 @@ if !exists("cpp_no_cpp14")
58
58
syn case match
59
59
endif
60
60
61
- " C++ 17 extensions
62
- if ! exists (" cpp_no_cpp17" )
63
- syn match cppCast " \< reinterpret_pointer_cast\s *<" me =e - 1
64
- syn match cppCast " \< reinterpret_pointer_cast\s *$"
65
- endif
66
-
67
61
" C++ 20 extensions
68
62
if ! exists (" cpp_no_cpp20" )
69
63
syn keyword cppStatement co_await co_return co_yield requires
@@ -73,6 +67,12 @@ if !exists("cpp_no_cpp20")
73
67
syn keyword cppModule import module export
74
68
endif
75
69
70
+ " C++ 17 extensions
71
+ if ! exists (" cpp_no_cpp17" )
72
+ syn match cppCast " \< reinterpret_pointer_cast\s *<" me =e - 1
73
+ syn match cppCast " \< reinterpret_pointer_cast\s *$"
74
+ endif
75
+
76
76
" The minimum and maximum operators in GNU C++
77
77
syn match cppMinMax " [<>]?"
78
78
You can’t perform that action at this time.
0 commit comments