Permalink
Browse files

show excess whitespace at the end of a line

  • Loading branch information...
elementalvoid committed Mar 5, 2012
1 parent 485cbb9 commit 2c98f362a9477ab457b5ad5767d0ba8c9a7ebd81
Showing with 3 additions and 0 deletions.
  1. +3 −0 personal.vim
View
@@ -88,6 +88,9 @@ map <leader>t2 :setlocal shiftwidth=2<cr>
map <leader>t4 :setlocal shiftwidth=4<cr>
map <leader>t8 :setlocal shiftwidth=8<cr>
+highlight ExtraWhitespace ctermbg=red guibg=red
+match ExtraWhitespace /\s\+$/
+
""""""""""""""""""""""""""""""
" => Gundo

0 comments on commit 2c98f36

Please sign in to comment.