# HG changeset patch # User Bram Moolenaar # Date 1648135804 -3600 # Node ID 7456bc6bf07753df9ee1abc5d38b9814a5ef4737 # Parent 01d18a7ad1cf838d8a39ec520b23be838d5d14ba patch 8.2.4620: two letter substitute commands don't work Commit: https://github.com/vim/vim/commit/1e2c4175dce903986dac66ba9326ae562b159421 Author: Bram Moolenaar Date: Thu Mar 24 15:24:45 2022 +0000 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 --- 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 --- 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 */ /**/ + 4620, +/**/ 4619, /**/ 4618,