Fixed #536: handle removal of buffers
This commit is contained in:
parent
a5e0b737dc
commit
ce11d06130
@ -810,6 +810,7 @@ function! s:buffer_deleted() " {{{1
|
|||||||
let b:vimtex = l:vimtex
|
let b:vimtex = l:vimtex
|
||||||
doautocmd User VimtexEventQuit
|
doautocmd User VimtexEventQuit
|
||||||
if exists('b:vimtex_tmp')
|
if exists('b:vimtex_tmp')
|
||||||
|
let b:vimtex = b:vimtex_tmp
|
||||||
unlet b:vimtex_tmp
|
unlet b:vimtex_tmp
|
||||||
else
|
else
|
||||||
unlet b:vimtex
|
unlet b:vimtex
|
||||||
|
Loading…
x
Reference in New Issue
Block a user