On Wed, May 10, 2006 at 11:16:40AM +0200, Bram Moolenaar wrote:
> 
> Matt Mzyzik wrote:
> 
> > Assume the buffer is as follows (between quotes):
> > "
> > Rabbits are really great
> > rats are not so great
> > ra
> > "
> > 
> > Now if my cursor is after the "ra" on the third line, and I do a c-n to
> > see keyword completions, the "ra" disappears when the menu comes up. Is
> > this desired?
> 
> I get "rats".  Check your 'completeopt' setting.

my 'completeopt' is set to "longest,menuone"

also, I'm certain now that this bug didn't happen on at least one of the
old vim betas (the one on the gentoo portage)

and yes, if I take out "longest" from 'cot', then everything works

there's also another problem with "longest", where the items are no
longer selected and I cannot do things like <c-l> to keep completing
character by character

I also noticed <c-j> no longer selects menu items, however I guess
that might be intended as most people use <c-y> as in the docs.

--Matt

> 
> -- 
> hundred-and-one symptoms of being an internet addict:
> 89. In addition to your e-mail address being on your business
>     cards you even have your own domain.
> 
>  /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net   \\\
> ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
> \\\        download, build and distribute -- http://www.A-A-P.org        ///
>  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

Reply via email to