Skip to content

Commit 215a4e0

Browse files
committed
Reload dir bufs when vim gains focus
1 parent c66e24c commit 215a4e0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

plugin/acme.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1165,6 +1165,7 @@ augroup acme_vim
11651165
au!
11661166
au BufEnter * call s:ListDir()
11671167
au BufWinLeave * call s:BufWinLeave()
1168+
au FocusGained * call s:ReloadDirs()
11681169
au TextChanged,TextChangedI guide setl nomodified
11691170
au VimEnter * call s:ReloadDirs(winnr())
11701171
au VimResized * call s:ReloadDirs(0)

0 commit comments

Comments
 (0)