Highlight trailing whitespace in vim.

This commit is contained in:
David Tomaschik
2017-01-23 20:33:13 -08:00
parent dc9fbe1cd9
commit ab73763b4f

View File

@@ -141,3 +141,7 @@ endif
" Options for vimoutliner " Options for vimoutliner
autocmd Filetype votl setlocal sts=4 autocmd Filetype votl setlocal sts=4
" Highlight whitespace at end of file
highlight ExtraWhitespace ctermbg=red guibg=red
autocmd Syntax * syn match ExtraWhitespace /\s\+$\| \+\ze\t/ containedin=ALL