From 320f5668e85a9d1851cfad5f549aa68e2fee4087 Mon Sep 17 00:00:00 2001
From: "Kenneth Benzie (Benie)" <k.benzie83@gmail.com>
Date: Wed, 23 Aug 2017 21:05:06 +0100
Subject: [PATCH] Only match `= default` when ends on word boundary

---
 syntax/cpp.vim | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/syntax/cpp.vim b/syntax/cpp.vim
index 6b62ff4..5fb9187 100644
--- a/syntax/cpp.vim
+++ b/syntax/cpp.vim
@@ -50,7 +50,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