Vim highlighting with solarized color scheme

Viewed 5794

I have a vim highlight to display whitespace errors in code:

" Highlight redundant whitespaces and tabs.
highlight RedundantSpaces ctermbg=red
match RedundantSpaces /\s\+$\| \+\ze\t\|\t/

Which displays trailing whitespace problems like this: White space errors highlighted in red

However, i've recently started using the solarized color scheme and I am not able to get these highlights to display. solarized with no highlights

I've tried changing the color names to no avail. The relevant part of my (simple) .vimrc says:

syntax enable
set background=dark
colorscheme solarized
1 Answers
Related