1
0
forked from aniani/vim

patch 8.0.0035

Problem:    Order of matches for 'omnifunc' is messed up. (Danny Su)
Solution:   Do not set compl_curr_match when called from complete_check().
            (closes #1168)
This commit is contained in:
Bram Moolenaar
2016-10-15 17:06:47 +02:00
parent 9e507ca8a3
commit 472e85970e
12 changed files with 141 additions and 73 deletions

View File

@@ -2175,7 +2175,7 @@ f_complete_check(typval_T *argvars UNUSED, typval_T *rettv)
int saved = RedrawingDisabled;
RedrawingDisabled = 0;
ins_compl_check_keys(0);
ins_compl_check_keys(0, TRUE);
rettv->vval.v_number = compl_interrupted;
RedrawingDisabled = saved;
}