forked from aniani/vim
patch 9.1.0713: Newline causes E749 in Ex mode
Problem: Newline causes E749 in Ex mode (after 9.1.0573). Solution: Don't execute empty command followed by a newline. closes: #15614 Signed-off-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
3db32d2e7f
commit
2432b4a753
@@ -2916,6 +2916,11 @@ parse_command_modifiers(
|
||||
}
|
||||
return FAIL;
|
||||
}
|
||||
if (eap->nextcmd == NULL && *eap->cmd == '\n')
|
||||
{
|
||||
eap->nextcmd = eap->cmd + 1;
|
||||
return FAIL;
|
||||
}
|
||||
if (*eap->cmd == NUL)
|
||||
{
|
||||
if (!skip_only)
|
||||
|
Reference in New Issue
Block a user