On Mi, 16 Mai 2018, Yegappan Lakshmanan wrote:

> Hi,
> 
> On Wed, May 16, 2018 at 8:25 AM, Yegappan Lakshmanan
> <[email protected]> wrote:
> > Hi,
> >
> > On Wed, May 16, 2018 at 1:38 AM, Yegappan Lakshmanan
> > <[email protected]> wrote:
> >> Hi,
> >>
> >> With the latest Vim, when trying to complete file/directory names
> >> in the ":" prompt (after pressing !! twice in normal mode), the
> >> file/directory names are shown twice. Is anyone else seeing this?
> >>
> >> To reproduce this, in normal mode press !! twice. Now try to
> >> complete file/directory names in the Cmdline mode by pressing
> >> <Tab>.
> >>
> >> I am able to reproduce this on MacOS in a Vim invoked using the
> >> following command:
> >>
> >>       vim --clean -N -c "set wildmenu"
> >>
> >> The file/directory name completion works properly in other places.
> >> (e.g. in the ":edit" command).
> >>
> >
> > This bug was introduced by 7.4.672:
> >
> > Problem:    When completing a shell command, directories in the current
> >             directory are not listed.
> > Solution:   When "." is not in $PATH also look in the current directory for
> >             directories.
> >
> 
> A simple method to reproduce the problem is to run the following command:
> 
>   :echo getcompletion('/bin/bash', 'shellcmd')
> 
> It should only display /bin/bash once, but it is displayed twice.

Yeah, this is a known problem:
https://github.com/vim/vim/issues/539
https://github.com/vim/vim/pull/2733

The first one has been created 2.5 years ago, it's a pity it hasn't been 
fixed yet.

Best,
Christian
-- 
Frauen sind wie Handschellen, immer gleich eingeschnappt.

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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui