vimtex/test/vader/complete.vader
2016-04-07 21:27:09 +02:00

31 lines
573 B
Plaintext

Execute (Setup):
call system('touch fig_1.tex')
call system('touch fig_2.tex')
call system('touch fig_1.pdf')
call system('touch fig_2.pdf')
call system('touch fig_3.pdf')
Given tex (Completion: \includestandalone):
\includestandalone{
Do (Complete):
A\<c-x>\<c-o>\<c-n>}
Expect tex (Verify):
\includestandalone{fig_2}
Given tex (Completion: \includepdf):
\includepdf{
Do (Complete):
A\<c-x>\<c-o>\<c-p>\<c-p>}
Expect tex (Verify):
\includepdf{fig_3.pdf}
Given:
Execute (Cleanup):
call system('rm -f fig*tex')
call system('rm -f fig*pdf')