mirror of
https://github.com/tpope/vim-fugitive.git
synced 2026-10-08 05:04:51 +08:00
Trap BufWinLeave which fires with 'hidden' set
This commit is contained in:
1 parent
2667cfd9a0
commit
a646064433
1 file changed
+1
-1
+1
-1
@@ -107,7 +107,7 @@ endfunction
|
||||
augroup fugitive
|
||||
autocmd!
|
||||
autocmd BufNewFile,BufReadPost * call s:Detect()
|
||||
autocmd BufUnload * execute getbufvar(+expand('<abuf>'), 'fugitive_restore')
|
||||
autocmd BufWinLeave * execute getbufvar(+expand('<abuf>'), 'fugitive_restore')
|
||||
augroup END
|
||||
|
||||
" }}}1
|
||||
|
||||
Reference in new issue
Block a user