Friday, February 19, 2010

Re: custom complete function is not found

Hi Tom,

thank you, it works. I feel a bit stupid now!

On a related note, do you know how I can get completion for more than
just the first argument? I.e the first term I enter can be completed
but if I hit space and want to enter another term, it will not be
completed. There does not seem to be a way to specify the number of
arguments for the input() completion (as opposed to command-
completion)

Cheers
Arian

On Feb 19, 4:58 pm, Tom Link <micat...@gmail.com> wrote:
> >         let tags = input('Select tag(s)', '','custom,NM_list_all_tags()')
>
> There actually is no function of the name "NM_list_all_tags()". It
> should work with the parentheses removed:
>
>   let tags = input('Select tag(s)', '','custom,NM_list_all_tags')
>
> HTH

--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

No comments: