diff --git a/autoload/agit/view/log.vim b/autoload/agit/view/log.vim index a522721..8c97115 100644 --- a/autoload/agit/view/log.vim +++ b/autoload/agit/view/log.vim @@ -103,6 +103,9 @@ function! s:log.setlocal() endif autocmd BufEnter if g:agit_enable_auto_refresh | call agit#reload() | endif + if exists('##VimResized') + autocmd VimResized if g:agit_enable_auto_refresh | call agit#reload() | endif + endif autocmd ShellCmdPost call agit#reload()