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:
@@ -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
|
||||
|
Reference in New Issue
Block a user