Permalink
Browse files

Fix whitespace eol to work on all buffers.

  • Loading branch information...
1 parent 8876940 commit 60b9c33455ff92b0d1af40a46ed849e587ce6978 @convissor committed Feb 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 .vimrc
View
@@ -190,4 +190,4 @@ command SN setlocal nospell
" :CONVISSOR: Highlight trailing whitespace.
highlight WhitespaceEOL ctermbg=red guibg=red
-match WhitespaceEOL /\s\+$/
+autocmd BufWinEnter * match WhitespaceEOL /\s\+$/

0 comments on commit 60b9c33

Please sign in to comment.