diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-06-29 16:21:58 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-06-29 16:21:58 +0200 |
commit | 6b487147acc7d76754d7f041e009afbd1eeffb58 (patch) | |
tree | 1367b3a997a7662db6e232cc7b91f56402480e69 /src/edit.c | |
parent | 39efa89afb10ec967bea92f02aa58c4109628e5f (diff) |
updated for version 7.3.1269v7.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)
Diffstat (limited to 'src/edit.c')
-rw-r--r-- | src/edit.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/edit.c b/src/edit.c index b42b930f1b..e60ec1995e 100644 --- a/src/edit.c +++ b/src/edit.c @@ -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(); |