Yukihiro Nakadaira wrote:

> There are two problems in completion.  I wrote a patch.  Please check
> the following.
> 
> 1. 'ignorecase' does not work for completion.
> 
> For example, when ":set nosmartcase ignorecase" and buffer is
>   1: foo
>   2: Foo
> Then, complete with
>   3: <C-N>
> or
>   3: f<C-N>
> or
>   3: F<C-N>
> In all cases, only "foo" is matched.

Hmm, setting 'ignorecase' was used as a hint that case doesn't matter.
However, when it's set just to find more matches, you will still want to
complete words with different case, I suppose.

I wonder if this change causes a problem in combination with other
things, such as using "longest" in 'completeopt'.

> 2. Completion is slow when 'completeopt' doesn't have "menu" and
>    "menuone".  Until search finished, current selected item is not
>    displayed and typed key is not handled (except CTRL-C).

I wonder when this is noticable.  I do see a match displayed before the
search is finished.  Is this only in a very long file perhaps?

-- 
Mushrooms always grow in damp places and so they look like umbrellas.

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