Fix cpp syntax match
This commit is contained in:
parent
a9ad1f0543
commit
ff6d949028
@ -54,7 +54,7 @@ if !exists('cpp_no_cpp11')
|
|||||||
" Both `delete` and `default` are keywords which normally take precidence,
|
" Both `delete` and `default` are keywords which normally take precidence,
|
||||||
" however if the match starts before the beginning of the keyword it will be
|
" however if the match starts before the beginning of the keyword it will be
|
||||||
" chosen instead so we can specialze for this case.
|
" chosen instead so we can specialze for this case.
|
||||||
syn match cppStatement '=\s\+\(delete\|default\)\ze\s*;\?' contains=cOperator display
|
syn match cppStatement '=\s*\(delete\|default\)\ze\s*;\?' contains=cOperator display
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" C++14
|
" C++14
|
||||||
|
Loading…
x
Reference in New Issue
Block a user