patch 289.

Repro steps:
1. install acp and snipMate.
2. open vim and new a buffer.
3. "file aa.cpp"
4. type "Ex" at the beginning of line.

all the snippets of "C" file will be shown.

On Sep 6, 12:51 am, mattn <mattn...@gmail.com> wrote:
> Hi.
>
> I can't reproduce it.
> Please show me
>
> * version of ACP
> * version of snipMate
> * what the patch of ACP? only GetSnipsInCurrentScope?
> * what keys did you type?
>
> Thanks.
>
>
>
>
>
>
>
> On Monday, September 5, 2011 8:29:36 PM UTC+9, 驼峰 wrote:
>
> > with this patch, the snipMate plugin won't work correctly with auto
> > completio popup.
>
> > After applying this patch, the AutoComplPop will popup a list of
> > snippets for current filetype. This is a little bit annoying. So, I
> > have to revert to previous one.
>
> > On Aug 28, 10:02 pm, Bram Moolenaar <b....@moolenaar.net> wrote:
> > > Patch 7.3.289
> > > Problem:    Complete function isn't called when the leader changed.
> > > Solution:   Call ins_compl_restart() when the leader changed.  (Taro
> > Muraoka)
> > > Files:      src/edit.c
>
> > > *** ../vim-7.3.288/src/edit.c   2011-05-19 17:25:36.000000000 +0200
> > > --- src/edit.c  2011-08-28 15:53:47.000000000 +0200
> > > ***************
> > > *** 3367,3372 ****
> > > --- 3367,3381 ----
> > >       ins_bytes(compl_leader + ins_compl_len());
> > >       compl_used_match = FALSE;
>
> > > + #ifdef FEAT_COMPL_FUNC
> > > +     /*
> > > +      * To call eval 'completefunc' when leader is changed, restart
> > completion
> > > +      * every time.
> > > +      */
> > > +     if (ctrl_x_mode == CTRL_X_FUNCTION || ctrl_x_mode == CTRL_X_OMNI)
> > > +         ins_compl_restart();
> > > + #endif
> > > +
> > >       if (compl_started)
> > >         ins_compl_set_original_text(compl_leader);
> > >       else
> > > *** ../vim-7.3.288/src/version.c        2011-08-28 16:00:14.000000000
> > +0200
> > > --- src/version.c       2011-08-28 16:01:22.000000000 +0200
> > > ***************
> > > *** 711,712 ****
> > > --- 711,714 ----
> > >   {   /* Add new patch number below this line */
> > > + /**/
> > > +     289,
> > >   /**/
>
> > > --
> > > THEOREM: VI is perfect.
> > > PROOF: VI in roman numerals is 6.  The natural numbers < 6 which divide 6
> > are
> > > 1, 2, and 3. 1+2+3 = 6.  So 6 is a perfect number.  Therefore, VI is
> > perfect.
> > > QED
> > >                                                     -- Arthur Tateishi
>
> > >  /// Bram Moolenaar -- b....@moolenaar.net --http://www.Moolenaar.net 
> > \\\
> > > ///        sponsor Vim, vote for features --
> >http://www.Vim.org/sponsor/\\\
> > > \\\  an exciting new programming language --http://www.Zimbu.org     
> >  ///
> > >  \\\            help me help AIDS victims --http://ICCF-Holland.org 
> >  ///

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

Raspunde prin e-mail lui