From: Bram Moolenaar Date: Thu, 7 Mar 2013 18:38:54 +0000 (+0100) Subject: updated for version 7.3.854 X-Git-Tag: v7.3.854 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3978e08fbee9a1ef6b988cae73e95cb18467733b;p=thirdparty%2Fvim.git updated for version 7.3.854 Problem: After using backspace in insert mode completion, CTRL-N and CTRL-P do not highlight the right entry. (Olivier Teuliere) Solution: Set the current item to the shown item after using backspace. --- diff --git a/src/edit.c b/src/edit.c index 74bbd9a109..88fd18af1d 100644 --- a/src/edit.c +++ b/src/edit.c @@ -3380,6 +3380,9 @@ ins_compl_bs() if (compl_leader != NULL) { ins_compl_new_leader(); + if (compl_shown_match != NULL) + /* Make sure current match is not a hidden item. */ + compl_curr_match = compl_shown_match; return NUL; } return K_BS; diff --git a/src/version.c b/src/version.c index b6e4f3894a..7c1e274ef1 100644 --- a/src/version.c +++ b/src/version.c @@ -728,6 +728,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 854, /**/ 853, /**/