Trap BufWinLeave which fires with 'hidden' set
This commit is contained in:
parent
2667cfd9a0
commit
a646064433
@ -107,7 +107,7 @@ endfunction
|
|||||||
augroup fugitive
|
augroup fugitive
|
||||||
autocmd!
|
autocmd!
|
||||||
autocmd BufNewFile,BufReadPost * call s:Detect()
|
autocmd BufNewFile,BufReadPost * call s:Detect()
|
||||||
autocmd BufUnload * execute getbufvar(+expand('<abuf>'), 'fugitive_restore')
|
autocmd BufWinLeave * execute getbufvar(+expand('<abuf>'), 'fugitive_restore')
|
||||||
augroup END
|
augroup END
|
||||||
|
|
||||||
" }}}1
|
" }}}1
|
||||||
|
Loading…
Reference in New Issue
Block a user