changeset 24020:f7dbc9e81a19 v8.2.2552

patch 8.2.2552: Vim9: no reason to consider "{{{{{{{{" a command Commit: https://github.com/vim/vim/commit/9f646c2e1105f27484d7b008a29da554ff2c21b6 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Feb 26 21:56:47 2021 +0100 patch 8.2.2552: Vim9: no reason to consider "{{{{{{{{" a command Problem: Vim9: no reason to consider "{{{{{{{{" a command. Solution: Just use "{". (issue https://github.com/vim/vim/issues/7904)
author Bram Moolenaar <Bram@vim.org>
date Fri, 26 Feb 2021 22:00:03 +0100
parents d3dc7c535eda
children b4912d88999c
files src/ex_cmds.h src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ex_cmds.h
+++ b/src/ex_cmds.h
@@ -1819,7 +1819,7 @@ EXCMD(CMD_rshift,	">",		ex_operators,
 EXCMD(CMD_at,		"@",		ex_at,
 	EX_RANGE|EX_WHOLEFOLD|EX_EXTRA|EX_TRLBAR|EX_CMDWIN|EX_LOCK_OK|EX_NONWHITE_OK,
 	ADDR_LINES),
-EXCMD(CMD_block,	"{{{{{{{{",	ex_block,  // not found normally
+EXCMD(CMD_block,	"{",		ex_block,  // not found normally
 	0,
 	ADDR_NONE),
 EXCMD(CMD_endblock,	"}",		ex_endblock,
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    2552,
+/**/
     2551,
 /**/
     2550,