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 | 27b136f2214ead1114830be19c6949f394e5d421 (patch) | |
tree | 343d89c3180a9d8f8bc362f4bc3b53672a20b5e0 | |
parent | d3bae64d7122a79ae003580d3c54f0ab62062c32 (diff) | |
download | vim-27b136f2214ead1114830be19c6949f394e5d421.tar.gz |
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)
-rw-r--r-- | src/edit.c | 1 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 0 deletions
@@ -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(); diff --git a/src/version.c b/src/version.c index 46309879..8022a78f 100644 --- a/src/version.c +++ b/src/version.c @@ -729,6 +729,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1269, +/**/ 1268, /**/ 1267, |