To: vim_dev@googlegroups.com Subject: Patch 8.2.2707 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ 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 -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///