mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
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.
This commit is contained in:
@@ -3380,6 +3380,9 @@ ins_compl_bs()
|
|||||||
if (compl_leader != NULL)
|
if (compl_leader != NULL)
|
||||||
{
|
{
|
||||||
ins_compl_new_leader();
|
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 NUL;
|
||||||
}
|
}
|
||||||
return K_BS;
|
return K_BS;
|
||||||
|
@@ -728,6 +728,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
854,
|
||||||
/**/
|
/**/
|
||||||
853,
|
853,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user