patch 8.0.0656: cannot use ! after some user commands
Problem: Cannot use ! after some user commands.
Solution: Properly check for existing command. (Higashi Higashi)
diff --git a/src/ex_docmd.c b/src/ex_docmd.c
index 9dac9bf..bdd152d 100644
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -2370,7 +2370,8 @@
goto doend;
}
/* Check for wrong commands. */
- if (*p == '!' && ea.cmd[1] == 0151 && ea.cmd[0] == 78)
+ if (*p == '!' && ea.cmd[1] == 0151 && ea.cmd[0] == 78
+ && !IS_USER_CMDIDX(ea.cmdidx))
{
errormsg = uc_fun_cmd();
goto doend;