Specialize << and >> highlight matches
This commit is contained in:
parent
d04bb01d16
commit
e4cd16ff5b
@ -18,7 +18,7 @@ syn match cppOperator '\(\s\zs\/\s\ze\|\s\zs<\s\ze\|\s\zs>\s\ze\)'
|
|||||||
syn match cppStorageClass '\w[A-Za-z0-9_]*\ze::'
|
syn match cppStorageClass '\w[A-Za-z0-9_]*\ze::'
|
||||||
" " Match multi character operators, override cppDelimiter matches for < >
|
" " Match multi character operators, override cppDelimiter matches for < >
|
||||||
" " ^ ^
|
" " ^ ^
|
||||||
syn match cppOperator '\(<<\|>>\|>>=\|<<=\|<=\|>=\|->\*\|->\)'
|
syn match cppOperator '\(<<\ze\s\|\s\zs>>\|>>=\|<<=\|<=\|>=\|->\*\|->\)'
|
||||||
|
|
||||||
" Define additional highlight groups
|
" Define additional highlight groups
|
||||||
hi default link cppDelimiter Delimiter
|
hi default link cppDelimiter Delimiter
|
||||||
|
Loading…
x
Reference in New Issue
Block a user