On Mon, Jul 19, 2010 at 6:11 AM, Bram Moolenaar <[email protected]> wrote:
>
> Björn Winckler wrote:
>
>> I built a new (MacVim) binary using the latest source and noticed that
>> command autocompletion is behaving strangely.

[snip]

> Looks like the new :find completion.  It completes files that would be
> found when executing the ":find" command.  Did you intend to use ":edit"
> instead?
>
> The duplicates shouldn't be there, that's a bug.

I'm the one to blame :)

Björn, could you let me know what your 'path' setting is?

That would help in troubleshooting the duplicates.

Just to be sure: did you really see two "appkit.h", and not "include/appkit.h"
and "appkit.h"?

The function "uniquefy_paths" in misc1.c is the one responsible for shortening
the paths while still maintaning their uniqueness.  If there is any duplicates
then this function is the first suspect.  In retrospect, the name should really
be something like "shorten_and_uniquefy_paths".

nazri.

b.t.w: Thanks a lot for writing up the vim-hg-git guide . It is really useful
to me as I don't grok mercurial as good as I do git.

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