vim: Highlight trailing spaces in colorscheme red
This commit is contained in:
@@ -54,10 +54,10 @@ endif
|
|||||||
if match(&listchars, 'trail: \@!') > -1 && match(&listchars, '\vtab:( +)@!') > -1
|
if match(&listchars, 'trail: \@!') > -1 && match(&listchars, '\vtab:( +)@!') > -1
|
||||||
" Use foreground for coloring if tabs and trailing spaces are displayed
|
" Use foreground for coloring if tabs and trailing spaces are displayed
|
||||||
" as non-space characters
|
" as non-space characters
|
||||||
highlight TrailingWhitespace ctermfg=red guifg=red
|
highlight TrailingWhitespace ctermfg=204 guifg=#e06c75
|
||||||
else
|
else
|
||||||
" Background otherwise
|
" Background otherwise
|
||||||
highlight TrailingWhitespace ctermbg=red guibg=red
|
highlight TrailingWhitespace ctermbg=204 guibg=#e06c75
|
||||||
endif
|
endif
|
||||||
augroup HighlightTrailingWhitespace
|
augroup HighlightTrailingWhitespace
|
||||||
au!
|
au!
|
||||||
|
|||||||
Reference in New Issue
Block a user