Escape - cOperator match

This commit is contained in:
Kenneth Benzie 2016-09-05 22:29:55 +01:00
parent cc30fc41e8
commit d307403847

View File

@ -7,7 +7,7 @@
" ^ ^ ^ ^ ^ ^
syn match cDelimiter '[()\[\]{}:;]'
" Match single character operators, ordering within the [] is important
syn match cOperator '[\*=\.\^\~+-,&|!%?]'
syn match cOperator '[\*=\.\^\~+\-,&|!%?]'
" Match single character operators if they are surrounded by white space: / < >
" ^ ^ ^
syn match cOperator '\(\s\zs\/\s\ze\|\s\zs<\s\ze\|\s\zs>\s\ze\)'