patch 8.2.3047: increment and decrement don't allow for next command
Problem: Increment and decrement don't allow for next command.
Solution: Allow for comment and next command. (closes #8442)
diff --git a/src/ex_cmds.h b/src/ex_cmds.h
index 8ddac37..ef3fa66 100644
--- a/src/ex_cmds.h
+++ b/src/ex_cmds.h
@@ -1875,10 +1875,10 @@
// Commands that are recognized only in find_ex_command().
EXCMD(CMD_increment, "++", ex_incdec,
- EX_EXTRA|EX_NOTRLCOM|EX_SBOXOK|EX_CMDWIN|EX_LOCK_OK,
+ EX_EXTRA|EX_TRLBAR|EX_SBOXOK|EX_CMDWIN|EX_LOCK_OK,
ADDR_NONE),
EXCMD(CMD_decrement, "--", ex_incdec,
- EX_EXTRA|EX_NOTRLCOM|EX_SBOXOK|EX_CMDWIN|EX_LOCK_OK,
+ EX_EXTRA|EX_TRLBAR|EX_SBOXOK|EX_CMDWIN|EX_LOCK_OK,
ADDR_NONE),
#undef EXCMD