From ce0402522c5de69dc2468aa8d0ad5a6818c76a8b Mon Sep 17 00:00:00 2001 From: "Kenneth Benzie (Benie)" Date: Sun, 4 Sep 2016 22:46:14 +0100 Subject: [PATCH] Add alignas, alignof, decltype to cppOperator group --- after/syntax/cpp.vim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/after/syntax/cpp.vim b/after/syntax/cpp.vim index aee6ac0..3fb9b77 100644 --- a/after/syntax/cpp.vim +++ b/after/syntax/cpp.vim @@ -8,6 +8,8 @@ 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 " 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\)'