From 07eaaa5e0b206f1976cad833dd64a3a3d3793c3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karl=20Yngve=20Lerv=C3=A5g?= Date: Wed, 18 Nov 2015 08:32:15 +0100 Subject: [PATCH] Minor fix --- autoload/vimtex.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/autoload/vimtex.vim b/autoload/vimtex.vim index 655f33d..5ad7477 100644 --- a/autoload/vimtex.vim +++ b/autoload/vimtex.vim @@ -638,6 +638,7 @@ function! s:buffer_deleted() " {{{1 " Check if the deleted buffer was the last remaining buffer of an opened " latex project " + if !exists('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)')