Yasuhiro Matsumoto wrote:

> When you type ':echo <tab>', you can see complete candidates like variables, 
> functions, or etc.
> But it include dict functions.  For example,
> 
> -------
> $ cat foo.vim
> let s:foo = {}
> function! s:foo.bar()
> endfunction
> 
> $ vim -u foo.vim -N
> -------
> 
> Type ":echo <tab>", it will be ":echo 1()".
> Below is a patch for fixing this problem.
> 
> Note that this patch remove dict functions and script functions from 
> complete candidates.
> I think completing of script functions is not useful for us like 
> '<SNR>14_XXX'.
> Please check and include.

Makes sense.  I wonder if we should still show the matches when the user
is explicitly looking for such a function.

-- 
hundred-and-one symptoms of being an internet addict:
46. Your wife makes a new rule: "The computer cannot come to bed."

 /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
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