mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
updated for version 7.3.1269
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)
This commit is contained in:
@@ -3467,6 +3467,7 @@ ins_compl_new_leader()
|
|||||||
}
|
}
|
||||||
|
|
||||||
compl_enter_selects = !compl_used_match;
|
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. */
|
/* Show the popup menu with a different set of matches. */
|
||||||
ins_compl_show_pum();
|
ins_compl_show_pum();
|
||||||
|
@@ -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 */
|
||||||
|
/**/
|
||||||
|
1269,
|
||||||
/**/
|
/**/
|
||||||
1268,
|
1268,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user