Add alignas, alignof, decltype to cppOperator group

This commit is contained in:
Kenneth Benzie 2016-09-04 22:46:14 +01:00
parent d4102cb636
commit ce0402522c

View File

@ -8,6 +8,8 @@
syn match cppDelimiter '\(<\|>\|::\)' syn match cppDelimiter '\(<\|>\|::\)'
" Match keyword logic operators " Match keyword logic operators
syn keyword cppOperator and and_eq bitand bitor compl not not_eq or or_eq xor xor_eq 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: / < > " 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\)' syn match cppOperator '\(\s\zs\/\s\ze\|\s\zs<\s\ze\|\s\zs>\s\ze\)'