Disable experimental C++ syntax highlighting
This commit is contained in:
parent
64c8bc6b40
commit
61599e0b05
@ -71,8 +71,9 @@ if !exists('cpp_no_cpp14')
|
||||
endif
|
||||
|
||||
" C++17
|
||||
if !exists('cpp_no_cpp17')
|
||||
if exists('cpp_experimental') && !exists('cpp_no_cpp17')
|
||||
" Attribute Specifier Sequence
|
||||
" FIXME: This matches range-for and switch case statements
|
||||
" Match: [[using attribute-namespace: attribute-list]]
|
||||
syn match cppAttributeUsingNamespace '\s\+\zs\w\+\ze\s*:' contained contains=cppAttributeUsing
|
||||
syn keyword cppAttributeUsing using contained
|
||||
@ -86,7 +87,7 @@ if !exists('cpp_no_cpp17')
|
||||
endif
|
||||
|
||||
" C++20
|
||||
if !exists('cpp_no_cpp20')
|
||||
if exists('cpp_experimental') && !exists('cpp_no_cpp20')
|
||||
syn keyword cppStatement concept requires
|
||||
|
||||
" TODO: Attribute Specifier Sequence
|
||||
|
Loading…
x
Reference in New Issue
Block a user