Skip to content
Browse files

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.
  • Loading branch information...
1 parent 31ffd9c commit 88081da75d362990e6394b107e7fb289fce3af3d @brammool brammool committed
Showing with 5 additions and 0 deletions.
  1. +3 −0 src/edit.c
  2. +2 −0 src/version.c
View
3 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;
View
2 src/version.c
@@ -729,6 +729,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 854,
+/**/
853,
/**/
852,

0 comments on commit 88081da

Please sign in to comment.
Something went wrong with that request. Please try again.