We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 427b7c9 + 00ee4b7 commit 7b3889cCopy full SHA for 7b3889c
plugin/better-whitespace.vim
@@ -191,7 +191,7 @@ command! CurrentLineWhitespaceOn call <SID>CurrentLineWhitespaceOn()
191
192
" Process auto commands upon load, update local enabled on filetype change
193
autocmd FileType * let b:better_whitespace_enabled = !<SID>ShouldSkipHighlight() | call <SID>SetupAutoCommands()
194
-autocmd BufWinEnter * call <SID>SetupAutoCommands()
+autocmd WinEnter,BufWinEnter * call <SID>SetupAutoCommands()
195
autocmd ColorScheme * call <SID>WhitespaceInit()
196
197
function! s:PerformMatchHighlight(pattern)
0 commit comments