mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 8.2.2707: adding a lot of completions can still be a bit slow
Problem: Adding a lot of completions can still be a bit slow. Solution: Add the check for CP_FAST. (Ben Jackson)
This commit is contained in:
parent
a7511c0f4f
commit
ceb0619433
@ -586,7 +586,10 @@ ins_compl_add(
|
|||||||
int dir = (cdir == 0 ? compl_direction : cdir);
|
int dir = (cdir == 0 ? compl_direction : cdir);
|
||||||
int flags = flags_arg;
|
int flags = flags_arg;
|
||||||
|
|
||||||
ui_breakcheck();
|
if (flags & CP_FAST)
|
||||||
|
fast_breakcheck();
|
||||||
|
else
|
||||||
|
ui_breakcheck();
|
||||||
if (got_int)
|
if (got_int)
|
||||||
return FAIL;
|
return FAIL;
|
||||||
if (len < 0)
|
if (len < 0)
|
||||||
|
@ -750,6 +750,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
2707,
|
||||||
/**/
|
/**/
|
||||||
2706,
|
2706,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user