Delete fileinfo also on BufUnload and BufWipeout

This commit is contained in:
Jan Larres committed 2012-02-23 00:00:24 +13:00
1 parent 4bf1d7024d
commit a69cb8ce0b
1 file changed
+1 -1
+1 -1
View File
@@ -965,7 +965,7 @@ function! s:CreateAutocommands()
\ endif
autocmd BufEnter,CursorHold,FileType * call
\ s:AutoUpdate(fnamemodify(expand('<afile>'), ':p'))
autocmd BufDelete * call
autocmd BufDelete,BufUnload,BufWipeout * call
\ s:CleanupFileinfo(fnamemodify(expand('<afile>'), ':p'))
augroup END