vimtex/test/vader/complete.vader

31 lines
573 B
Plaintext
Raw Normal View History

2016-04-07 15:27:09 -04:00
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:
2016-04-07 02:24:26 -04:00
Execute (Cleanup):
2016-04-07 15:27:09 -04:00
call system('rm -f fig*tex')
call system('rm -f fig*pdf')
2016-04-07 02:24:26 -04:00