1
0
forked from aniani/vim

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)
This commit is contained in:
Bram Moolenaar
2021-06-25 19:29:30 +02:00
parent b420ac9d20
commit f3d30842dc
4 changed files with 14 additions and 4 deletions

View File

@@ -1875,10 +1875,10 @@ EXCMD(CMD_X, "X", ex_X,
// 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