commit | 1e2c4175dce903986dac66ba9326ae562b159421 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Mar 24 15:24:45 2022 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Mar 24 15:24:45 2022 +0000 |
tree | 268939abb7ae1d7a3228846ac9f67e1db6dc387e | |
parent | f8e43f6107f3a83b8c74a84c4c8f99598e2dc4c0 [diff] [blame] |
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 7c2fe3d..65f4221 100644 --- a/src/ex_docmd.c +++ b/src/ex_docmd.c
@@ -3431,7 +3431,7 @@ static int one_letter_cmd(char_u *p, cmdidx_T *idx) { - if (!in_vim9script()) + if (in_vim9script()) return FALSE; if (*p == 'k') {