0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.2.4620: two letter substitute commands don't work

Problem:    Two letter substitute commands don't work. (Yegappan Lakshmanan)
Solution:   Invert condition.
This commit is contained in:
Bram Moolenaar
2022-03-24 15:24:45 +00:00
parent f8e43f6107
commit 1e2c4175dc
2 changed files with 3 additions and 1 deletions

View File

@@ -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')
{

View File

@@ -750,6 +750,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
4620,
/**/
4619,
/**/