From ff6d94902853021f2654dbb0465152200f931748 Mon Sep 17 00:00:00 2001 From: "Kenneth Benzie (Benie)" Date: Mon, 26 Dec 2016 12:15:42 +0000 Subject: [PATCH] Fix cpp syntax match --- syntax/cpp.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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