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') call system('touch fig_a.png') call system('touch fig_b.png') call system('touch fig_c.png') call system('touch preamble.tex') call system('touch chapter.tex') call system('touch section.tex') Given tex (Completion: \includegraphics): ================================================================================= \includegraphics{ \includegraphics[scale=0.5]{ \includegraphics[100,100][300,300]{ Execute (Debug): Log system('ls') Log b:vimtex Log &omnifunc Do (Complete): A\\\}\ jA\\\\}\ jA\\\\\} Expect tex (Verify): \includegraphics{fig_b.png} \includegraphics[scale=0.5]{fig_c.png} \includegraphics[100,100][300,300]{fig_1.pdf} Given tex (Completion: \include and \input): ================================================================================= \input { \includeonly{ \include{ Do (Complete): A\\\\\}\ jA\\,\\\\\\}\ jA\\\\} Expect tex (Verify): \input {preamble.tex} \includeonly{chapter.tex,section.tex} \include{section.tex} Given tex (Completion: \includepdf): ================================================================================= \includepdf{ Do (Complete): A\\\\} Expect tex (Verify): \includepdf{fig_3.pdf} Given tex (Completion: \includestandalone): ================================================================================= \includestandalone{ Do (Complete): A\\\} Expect tex (Verify): \includestandalone{fig_1} Given: Execute (Cleanup): ================================================================================= call system('rm -f fig*tex') call system('rm -f fig*pdf') call system('rm -f fig*png')