diff src/ex_cmds.h @ 25020:91f396f149d5 v8.2.3047

patch 8.2.3047: increment and decrement don't allow for next command Commit: https://github.com/vim/vim/commit/f3d30842dcc8ef4134da462bd4197ae2e2c6c0c1 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Jun 25 19:29:30 2021 +0200 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 https://github.com/vim/vim/issues/8442)
author Bram Moolenaar <Bram@vim.org>
date Fri, 25 Jun 2021 19:30:03 +0200
parents b6ac4ed5e2d2
children c63a2d24b7e2
line wrap: on
line diff
--- 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