From d080f003d4dc29e4ac0d23c3800df00cb72032e7 Mon Sep 17 00:00:00 2001 From: "Kenneth Benzie (Benie)" Date: Thu, 15 Sep 2016 13:55:34 +0100 Subject: [PATCH] Highlight new/delete as operators --- after/syntax/cpp.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/after/syntax/cpp.vim b/after/syntax/cpp.vim index b501654..41f7d0d 100644 --- a/after/syntax/cpp.vim +++ b/after/syntax/cpp.vim @@ -9,7 +9,7 @@ syn match cppDelimiter '\(<\|>\|::\)' " Match keyword logic operators syn keyword cppOperator and and_eq bitand bitor compl not not_eq or or_eq xor xor_eq " Match keyword operators -syn keyword cppOperator alignas alignof decltype +syn keyword cppOperator new delete alignas alignof decltype " Match single character operators if they are surrounded by white space: / < > " ^ ^ ^ syn match cppOperator '\(\s\zs\/\s\ze\|\s\zs<\s\ze\|\s\zs>\s\ze\)'