Skip to content

Commit 9b50242

Browse files
committed
Remove redundant autocommand events
Fix #21
1 parent 51857e2 commit 9b50242

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin/better-whitespace.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ command! -nargs=* CurrentLineWhitespaceOff call <SID>CurrentLineWhitespaceOff( <
184184
command! CurrentLineWhitespaceOn call <SID>CurrentLineWhitespaceOn()
185185

186186
" Process auto commands upon load
187-
autocmd VimEnter,WinEnter,BufEnter,FileType * call <SID>SetupAutoCommands()
187+
autocmd BufWinEnter * call <SID>SetupAutoCommands()
188188
autocmd ColorScheme * call <SID>WhitespaceInit()
189189

190190
" Executes all auto commands

0 commit comments

Comments
 (0)