Merge pull request #9 from marlun/patch-1

Make it a lot easier to override highlighting
This commit is contained in:
Scott Bronson
2015-07-24 14:59:54 -07:00

View File

@@ -13,7 +13,7 @@ function! ShouldMatchWhitespace()
endfunction
" Highlight EOL whitespace, http://vim.wikia.com/wiki/Highlight_unwanted_spaces
highlight ExtraWhitespace ctermbg=darkred guibg=#382424
highlight default ExtraWhitespace ctermbg=darkred guibg=#382424
autocmd ColorScheme * highlight ExtraWhitespace ctermbg=red guibg=red
autocmd BufWinEnter * if ShouldMatchWhitespace() | match ExtraWhitespace /\s\+$/ | endif