Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed highlighting of extra whitespace in .vimrc

  • Loading branch information...
commit e8c340994d3315f03d09db71e806507d21a1d83b 1 parent 0d4d3a4
@boris-petrov authored
Showing with 1 addition and 3 deletions.
  1. +1 −3 .vimrc
View
4 .vimrc
@@ -185,9 +185,7 @@ endif
" --------------------------------------------------------------------------------------------------
highlight ExtraWhitespace guibg=red
-autocmd InsertEnter * match ExtraWhitespace /\s\+\%#\@<!$/
-autocmd InsertLeave * match ExtraWhitespace /\s\+$/
-autocmd BufWinEnter * match ExtraWhitespace /^\s* \s*\|\s\+$/
+match ExtraWhitespace /\s\+\%#\@<!$/
" --------------------------------------------------------------------------------------------------
" Leader Variables
Please sign in to comment.
Something went wrong with that request. Please try again.