Skip to content
Browse files

show excess whitespace at the end of a line

  • Loading branch information...
1 parent 485cbb9 commit 2c98f362a9477ab457b5ad5767d0ba8c9a7ebd81 @elementalvoid committed Mar 4, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 personal.vim
View
3 personal.vim
@@ -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.
Something went wrong with that request. Please try again.