Dnia czwartek, 5 października 2006 05:16, Igor Prischepoff napisał:
> Hi, i think i have found a bug in vim 7.0
> Patch level 1-109.
> Windows version +perl +python (i don't think this matters in this case)
>
> here is how to reproduce:
> gvim -u NONE -U NONE
>
> :set complete-=t         " don't want complete from tags file - it's not
>
> important, just to switch off message
>
> :set complete+=longest " that's important
>
> i "now we in insert mode
>
> one two
> o<C-N>:t<C-N>"now trying to complete second time -  no completion,
> nothing" i.e. i've got resulting text in buffer like this:
>
> one two
> one:t
>
> and no 'two' on second C-N when trying to complete 'two' and message
> "Back at original"
>
> (First completion works as expected, but second didn't shown and not
> complete at all)
> if remove 'longest' from 'complete' then everything works as expected.
>
> Can you reproduce that bug?

Confirming it for 7.0.110 (Linux, GTK2).

> Or it's intended behaviour?

I don't think so.
Note, when you press space and later return to the end of "one:t"
it works.

m.

Reply via email to