On Sun, 9 Oct 2011, Bram Moolenaar wrote:


Christian Brabandt wrote:

On Sa, 08 Okt 2011, mattn wrote:

Do you mean that vim have better to show candidate like following? (for example)

:echo <SNR>14_foo

and type <tab>

:echo <SNR>14_foobar

I think no need to show it.

Please don't turn that feature off. I use it all the time.

How about only showing these when the user has typed "<". I would like that when typing ":call <Ctrl-D>" you only see alphabetic function names.

I also use this occasionally.

It makes sense to hide dictionary functions, because you can't call them directly:

Doing:     :call <Tab><CR>
Completes: :call 1()
Result:    E129: Function name required

So, the result of the completion is something that doesn't work. It doesn't make sense in context.

Script functions, though, can be called. So they're perfectly valid candidates.

:call <Tab>(until reaching an example SNR function)
:call <SNR>19_LoadIndent()
Result:    (it runs the function... i.e. It works fine.)

I vote for leaving them in the list.

--
Best,
Ben

--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui