From: Bram Moolenaar Date: Thu, 24 Mar 2022 15:24:45 +0000 (+0000) Subject: patch 8.2.4620: two letter substitute commands don't work X-Git-Tag: v8.2.4620 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1e2c4175dce903986dac66ba9326ae562b159421;p=vim patch 8.2.4620: two letter substitute commands don't work Problem: Two letter substitute commands don't work. (Yegappan Lakshmanan) Solution: Invert condition. --- diff --git a/src/ex_docmd.c b/src/ex_docmd.c index 7c2fe3deb..65f4221f0 100644 --- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -3431,7 +3431,7 @@ skip_option_env_lead(char_u *start) static int one_letter_cmd(char_u *p, cmdidx_T *idx) { - if (!in_vim9script()) + if (in_vim9script()) return FALSE; if (*p == 'k') { diff --git a/src/version.c b/src/version.c index 693cebc06..6405e3b85 100644 --- a/src/version.c +++ b/src/version.c @@ -750,6 +750,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 4620, /**/ 4619, /**/