Disable experimental C++ syntax highlighting

This commit is contained in:
Kenneth Benzie 2018-10-05 17:59:15 +01:00
parent 64c8bc6b40
commit 61599e0b05

View File

@ -71,8 +71,9 @@ if !exists('cpp_no_cpp14')
endif endif
" C++17 " C++17
if !exists('cpp_no_cpp17') if exists('cpp_experimental') && !exists('cpp_no_cpp17')
" Attribute Specifier Sequence " Attribute Specifier Sequence
" FIXME: This matches range-for and switch case statements
" Match: [[using attribute-namespace: attribute-list]] " Match: [[using attribute-namespace: attribute-list]]
syn match cppAttributeUsingNamespace '\s\+\zs\w\+\ze\s*:' contained contains=cppAttributeUsing syn match cppAttributeUsingNamespace '\s\+\zs\w\+\ze\s*:' contained contains=cppAttributeUsing
syn keyword cppAttributeUsing using contained syn keyword cppAttributeUsing using contained
@ -86,7 +87,7 @@ if !exists('cpp_no_cpp17')
endif endif
" C++20 " C++20
if !exists('cpp_no_cpp20') if exists('cpp_experimental') && !exists('cpp_no_cpp20')
syn keyword cppStatement concept requires syn keyword cppStatement concept requires
" TODO: Attribute Specifier Sequence " TODO: Attribute Specifier Sequence