1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
set nocompatible
let &rtp = '../..,' . &rtp
filetype plugin on
nnoremap q :qall!<cr>
call vimtex#log#set_silent()
if empty($INMAKE) | finish | endif
silent edit minimal.tex
call assert_equal(len(vimtex#state#list_all()), 1)
bwipeout
call assert_equal(len(vimtex#state#list_all()), 0)
silent edit minimal.tex
call assert_equal(len(vimtex#state#list_all()), 1)
bdelete
call assert_equal(len(vimtex#state#list_all()), 1)
silent edit minimal.tex
call assert_equal(len(vimtex#state#list_all()), 1)
call vimtex#test#finished()
|