Re: [Vim-latex-devel] Completion of Tcommands
Brought to you by:
srinathava,
tmaas
From: Mikolaj M. <mi...@wp...> - 2003-07-16 08:52:51
|
On Tue, Jul 15, 2003 at 01:20:28AM +0200, Luc Hermitte wrote: > * On Mon, Jul 14, 2003 at 02:57:01PM -0700, Srinath Avadhanula <sr...@fa...> wrote: > > BTW, I just found out that the -complete=custom,Foo works only for vim > > 6.2+. Do we still want to implement this? We will be generating errors > > for the majority of users now... > Nice to know! > > On vim 6.1, I get an error if I do > > > > :com -nargs=1 -complete=custom,Foo Bar > > > > E180: Invalid complete value: custom,Foo Bar > IMHO, It is not really an issue. Something like this will do the trick. > if version < 602 > :com -nargs=1 Bar > else > :com -nargs=1 -complete=custom,Foo Bar > endif I just committed it to the CVS :) m. |