Minor fix

This commit is contained in:
Karl Yngve Lervåg 2015-11-18 08:32:15 +01:00
parent eda71910be
commit 07eaaa5e0b

View File

@ -638,6 +638,7 @@ function! s:buffer_deleted() " {{{1
" Check if the deleted buffer was the last remaining buffer of an opened " Check if the deleted buffer was the last remaining buffer of an opened
" latex project " latex project
" "
if !exists('s:vimtex_id') | return | endif
if !has_key(g:vimtex_data, s:vimtex_id) | return | endif if !has_key(g:vimtex_data, s:vimtex_id) | return | endif
let l:listed_buffers = filter(range(1, bufnr('$')), 'buflisted(v:val)') let l:listed_buffers = filter(range(1, bufnr('$')), 'buflisted(v:val)')