From f3d30842dcc8ef4134da462bd4197ae2e2c6c0c1 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Fri, 25 Jun 2021 19:29:30 +0200 Subject: 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) --- src/ex_cmds.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ex_cmds.h') diff --git a/src/ex_cmds.h b/src/ex_cmds.h index 8ddac37b55..ef3fa669c5 100644 --- a/src/ex_cmds.h +++ b/src/ex_cmds.h @@ -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 -- cgit v1.2.3