Lighten up whitespace listchars

This commit is contained in:
Kevin Cotugno 2017-05-05 09:55:57 -07:00
parent 87e4c10ba5
commit c11be6d108

View File

@ -25,6 +25,17 @@ set background=dark
colorscheme solarized colorscheme solarized
call togglebg#map("") call togglebg#map("")
function SetWhitespace()
if &background == 'dark'
hi Whitespace ctermfg=0
else
hi Whitespace ctermfg=7
end
endfunction
call SetWhitespace()
map <F5> :ToggleBG<CR> :call SetWhitespace()<CR>
set number set number
set nowrap set nowrap
filetype plugin indent on filetype plugin indent on