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 74bbd9a..88fd18a 100644
--- a/src/edit.c
+++ b/src/edit.c
@@ -3380,6 +3380,9 @@
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;