forked from aniani/vim
patch 8.0.0589: :simalt still does not work
Problem: :simalt still does not work. Solution: Use K_NOP instead of K_IGNORE. (Christian Brabandt)
This commit is contained in:
@@ -2642,11 +2642,11 @@ ex_simalt(exarg_T *eap)
|
|||||||
}
|
}
|
||||||
if (fill_typebuf)
|
if (fill_typebuf)
|
||||||
{
|
{
|
||||||
/* Put something in the typeahead buffer so that the message will get
|
/* Put a NOP in the typeahead buffer so that the message will get
|
||||||
* processed. */
|
* processed. */
|
||||||
key_name[0] = K_SPECIAL;
|
key_name[0] = K_SPECIAL;
|
||||||
key_name[1] = KS_EXTRA;
|
key_name[1] = KS_EXTRA;
|
||||||
key_name[2] = KE_IGNORE;
|
key_name[2] = KE_NOP;
|
||||||
key_name[3] = NUL;
|
key_name[3] = NUL;
|
||||||
typebuf_was_filled = TRUE;
|
typebuf_was_filled = TRUE;
|
||||||
(void)ins_typebuf(key_name, REMAP_NONE, 0, TRUE, FALSE);
|
(void)ins_typebuf(key_name, REMAP_NONE, 0, TRUE, FALSE);
|
||||||
|
@@ -764,6 +764,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 */
|
||||||
|
/**/
|
||||||
|
589,
|
||||||
/**/
|
/**/
|
||||||
588,
|
588,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user