On Thu, Sep 14, 2006 at 09:06:49AM +1000, Peter Hodge wrote:
> 
> --- Bram Moolenaar <[EMAIL PROTECTED]> wrote:
> 
> > The word "stop" doesn't really describe well what its effect is.
> > 
> > There are other situations where you would like to stop completion, not
> > only with backspace.  Especially when using "longest".  I would suggest
> > using a regexp pattern for this.  So that you could do:
> >
> >     :set completeopt+=stop=[-.[:backspace:]]
> > 
> > This would stop completion when typing backspace, '.' or '-'.
> > 
> 
> No, it does in fact stop completion on every character typed (unless I've done
> something wrong and it only *sometimes* works, but it does work 100%
> consistently for me).  I'm not sure the feature would be popular enough to
> warrant an entire regex to specify the 'stop' characters, and at any rate, I
> don't think I'd be up to the task.
> 
> Thank you for feedback,
> Peter

     If the patch works as described, I think it is worth including in
its present form.  I, for one, would include "stop" in 'completeopt'.  I
cannot think of a reason I would want to end completion when I type some
characters but not others.

my $0.02                                --Benji Fisher

Reply via email to