I broke up with neovim....vim is my best friend now
This commit is contained in:
19
dot_vim/plugged/vimtex/test/test-toc/test-keepalt.vim
Normal file
19
dot_vim/plugged/vimtex/test/test-toc/test-keepalt.vim
Normal file
@@ -0,0 +1,19 @@
|
||||
set nocompatible
|
||||
let &rtp = '../..,' . &rtp
|
||||
filetype plugin on
|
||||
|
||||
nnoremap q :qall!<cr>
|
||||
|
||||
silent edit main.tex
|
||||
silent edit main.aux
|
||||
silent edit #
|
||||
|
||||
let s:alt = bufnr('#')
|
||||
|
||||
VimtexTocOpen
|
||||
normal q
|
||||
|
||||
if empty($INMAKE) | finish | endif
|
||||
|
||||
call assert_equal(s:alt, bufnr('#'))
|
||||
call vimtex#test#finished()
|
||||
Reference in New Issue
Block a user