diff --git a/plugin/better-whitespace.vim b/plugin/better-whitespace.vim index 076c2e7..6013a95 100644 --- a/plugin/better-whitespace.vim +++ b/plugin/better-whitespace.vim @@ -361,9 +361,6 @@ function! SetupAutoCommands() " Using syntax: clear whitespace highlighting when leaving buffer autocmd BufWinLeave if expand("") == expand("%") | call ClearHighlighting() | endif - " Do not highlight whitespace on current line in insert mode - autocmd CursorMovedI call HighlightEOLWhitespaceExceptCurrentLine() - " Do not highlight whitespace on current line in normal mode? if g:current_line_whitespace_disabled_hard == 1 autocmd CursorMoved call HighlightEOLWhitespaceExceptCurrentLine()