Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions plugin/srcexpl.vim
Original file line number Diff line number Diff line change
Expand Up @@ -1495,8 +1495,12 @@ function! <SID>SrcExpl_Init()
" Then we set the routine function when the event happens
augroup SrcExpl_AutoCmd
autocmd!
au! CursorHold * nested call g:SrcExpl_Refresh()
au! WinEnter * nested call <SID>SrcExpl_WinEnter()

" Remove below line emptly
"au! CursorHold * nested call g:SrcExpl_Refresh()
"au! WinEnter * nested call <SID>SrcExpl_WinEnter()
au! CursorHold * call g:SrcExpl_Refresh()
au! WinEnter * call <SID>SrcExpl_WinEnter()
augroup end

return 0
Expand Down