Highlight new/delete as operators
This commit is contained in:
parent
f86447e378
commit
d080f003d4
@ -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\)'
|
||||
|
Loading…
x
Reference in New Issue
Block a user