Friday, November 5, 2010

Re: vim & omnicomplete crash

Hi nexus!

On Do, 04 Nov 2010, nexus wrote:

> it is the latest version downloaded from site yesterday.
> it's on windows and linux but i know it's 7.3 at least
> > > while editing a file that is
> > > located on ftp ( :e ftp-address//),
> > > it just hangs on "searching" and then outputs that it is missing a
> > > file after along time,
> >
> > "hangs [...] then outputs [...].
> >
> > Do I understand correctly that Vim "hangs" for some time (not
> > indefinitely) and then outputs a warning or error message?
> >
> I'm sorry for misleading it does not hang it just show "searching" in
> the status line
>
> > If so, which error or warning does it give?
> > What "search" command do you use to reproduce the bug?
> > Why is it relevant to omni completion?
> > Are you trying some completion, if so how?
> >
> I'm editing an old php file.
> i add the lines
> <?php
> mysql(here i type <ctrl-X><ctrl-O>
>

I can reproduce it. It boils down to running:
(you need to first login into the ftp server, otherwise the vimgrep
command will wait forever for you to enter the credentials, but
unfortunately, you won't see that from the commandline)
silent! vimgrep /^.*\td\(\t\|$\)/j ftp://localhost/ftp/tags ftp://localhost/ftp/TAGS

from the php omnicompletion setup.


regards,
Christian

--
You received this message from the "vim_use" 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

No comments: