Re: [Vim-latex-devel] Completion of Tcommands
Brought to you by:
srinathava,
tmaas
From: Mikolaj M. <mi...@wp...> - 2003-07-15 11:46:25
|
On Mon, Jul 14, 2003 at 02:57:01PM -0700, Srinath Avadhanula wrote: > On Mon, 14 Jul 2003, Mikolaj Machowski wrote: > > Really doc entries are necessary? I implemented it because completion > > was the natural thing. > 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... > 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 Ah, yes I checked docs for 6.1 and there is no mention about -complete=custom. But I think this is nice feature and we can have it both ways. Just add checking for v:version. if v:version >= 602 command! ... -complete,custom else command! ... endif BTW I think with 6.3 we should think with breaking backward compability. There will be nice features: - :popup menu (it is already) - "DualHead" editing But we had plenty of time :) m. |