Patch 8.2.2707 (after 8.2.2704)
Problem:    Adding a lot of completions can still be a bit slow.
Solution:   Add the check for CP_FAST. (Ben Jackson)
Files:      src/insexpand.c


*** ../vim-8.2.2706/src/insexpand.c     2021-04-03 20:13:25.590782472 +0200
--- src/insexpand.c     2021-04-04 15:04:58.760853416 +0200
***************
*** 586,592 ****
      int               dir = (cdir == 0 ? compl_direction : cdir);
      int               flags = flags_arg;
  
!     ui_breakcheck();
      if (got_int)
        return FAIL;
      if (len < 0)
--- 586,595 ----
      int               dir = (cdir == 0 ? compl_direction : cdir);
      int               flags = flags_arg;
  
!     if (flags & CP_FAST)
!       fast_breakcheck();
!     else
!       ui_breakcheck();
      if (got_int)
        return FAIL;
      if (len < 0)
*** ../vim-8.2.2706/src/version.c       2021-04-03 21:47:03.276908544 +0200
--- src/version.c       2021-04-04 13:24:57.272225427 +0200
***************
*** 752,753 ****
--- 752,755 ----
  {   /* Add new patch number below this line */
+ /**/
+     2707,
  /**/

-- 
"I simultaneously try to keep my head in the clouds and my feet on the
ground.  Sometimes it's a stretch, though."              -- Larry Wall

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/202104041306.134D6hFN2784368%40masaka.moolenaar.net.

Raspunde prin e-mail lui