vimtex icon indicating copy to clipboard operation
vimtex copied to clipboard

Enable completion for custom macro

Open NiklasKappel opened this issue 2 years ago • 1 comments

Say I define a macro like this:

\newcommand{\mySuperGraphic}[1]{
...
\includegraphics{#1}
...
}

Then I type (with | being the cursor position):

\mySuperGraphic{|

vimtex does not trigger image file name completion. Would it be possible to tell vimtex that it should trigger specific completion suggestions for the nth argument of a specifically named command, i.e. through a vim option?

NiklasKappel avatar Aug 04 '22 16:08 NiklasKappel

Sorry, but no, there is no such feature available and I don't plan to implement it. :\

lervag avatar Aug 05 '22 07:08 lervag