diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-06-25 19:29:30 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-06-25 19:29:30 +0200 |
commit | f3d30842dcc8ef4134da462bd4197ae2e2c6c0c1 (patch) | |
tree | 9f00a98b9076f88ea37a5e1c0560ddc54e4b1424 /src/ex_cmds.h | |
parent | b420ac9d20d484ba0ebf3e328069251a63f96996 (diff) | |
download | vim-git-f3d30842dcc8ef4134da462bd4197ae2e2c6c0c1.tar.gz |
patch 8.2.3047: increment and decrement don't allow for next commandv8.2.3047
Problem: Increment and decrement don't allow for next command.
Solution: Allow for comment and next command. (closes #8442)
Diffstat (limited to 'src/ex_cmds.h')
-rw-r--r-- | src/ex_cmds.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ex_cmds.h b/src/ex_cmds.h index 8ddac37b5..ef3fa669c 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 |