1
0
forked from aniani/vim

updated for version 7.3.1269

Problem:    Insert completion keeps entry selected even though the list has
            changed. (Olivier Teuliere)
Solution:   Reset compl_shown_match and compl_curr_match. (Christian Brabandt)
This commit is contained in:
Bram Moolenaar
2013-06-29 16:21:58 +02:00
parent 39efa89afb
commit 6b487147ac
2 changed files with 3 additions and 0 deletions

View File

@@ -3467,6 +3467,7 @@ ins_compl_new_leader()
}
compl_enter_selects = !compl_used_match;
compl_shown_match = compl_curr_match = compl_first_match;
/* Show the popup menu with a different set of matches. */
ins_compl_show_pum();