]> granicus.if.org Git - vim/commitdiff
patch 8.2.2552: Vim9: no reason to consider "{{{{{{{{" a command v8.2.2552
authorBram Moolenaar <Bram@vim.org>
Fri, 26 Feb 2021 20:56:47 +0000 (21:56 +0100)
committerBram Moolenaar <Bram@vim.org>
Fri, 26 Feb 2021 20:56:47 +0000 (21:56 +0100)
Problem:    Vim9: no reason to consider "{{{{{{{{" a command.
Solution:   Just use "{". (issue #7904)

src/ex_cmds.h
src/version.c

index 7888d6fee0d901729ab39fbb45452dbd72be3579..d114fedb88724a2270440b0434fe4e00bd87102a 100644 (file)
@@ -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,
index 07c793d9400f128119a1b730f4b70cdae021890a..dc6a16c0c1ebeaf3d663eae969d20fbfae1c6f76 100644 (file)
@@ -750,6 +750,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    2552,
 /**/
     2551,
 /**/