I broke up with neovim....vim is my best friend now
This commit is contained in:
20
dot_vim/plugged/vimtex/test/test-completion-labels/test1.vim
Normal file
20
dot_vim/plugged/vimtex/test/test-completion-labels/test1.vim
Normal file
@@ -0,0 +1,20 @@
|
||||
set nocompatible
|
||||
let &rtp = '../..,' . &rtp
|
||||
filetype plugin on
|
||||
|
||||
nnoremap q :qall!<cr>
|
||||
|
||||
let g:vimtex_cache_root = '.'
|
||||
let g:vimtex_cache_persistent = 0
|
||||
|
||||
silent edit test1.tex
|
||||
|
||||
if empty($INMAKE) | finish | endif
|
||||
|
||||
let s:candidates = vimtex#test#completion('\ref{', '')
|
||||
call assert_equal(len(s:candidates), 21)
|
||||
|
||||
let s:candidates = vimtex#test#completion('\eqref{', '')
|
||||
call assert_equal(len(s:candidates), 15)
|
||||
|
||||
call vimtex#test#finished()
|
||||
Reference in New Issue
Block a user