Lighten up whitespace listchars
This commit is contained in:
parent
87e4c10ba5
commit
c11be6d108
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user