diff --git a/syntax/cpp.vim b/syntax/cpp.vim index 7da5fb0..2738d72 100644 --- a/syntax/cpp.vim +++ b/syntax/cpp.vim @@ -54,7 +54,7 @@ if !exists('cpp_no_cpp11') " Both `delete` and `default` are keywords which normally take precidence, " however if the match starts before the beginning of the keyword it will be " 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 " C++14