Merge pull request #1298 from splinterofchaos/418

vim-patch:7.4.418
This commit is contained in:
Justin M. Keyes 2014-10-16 18:26:53 -04:00
commit 7e17eb49b0
2 changed files with 8 additions and 2 deletions

View File

@ -3183,10 +3183,16 @@ void ex_append(exarg_T *eap)
if (*p != NUL)
++p;
eap->nextcmd = p;
} else
} else {
// Set State to avoid the cursor shape to be set to INSERT mode
// when getline() returns.
int save_State = State;
State = CMDLINE;
theline = eap->getline(
eap->cstack->cs_looplevel > 0 ? -1 :
NUL, eap->cookie, indent);
State = save_State;
}
lines_left = Rows - 1;
if (theline == NULL)
break;

View File

@ -214,7 +214,7 @@ static int included_patches[] = {
//421,
//420 NA
//419,
//418,
418,
//417,
//416,
//415,