diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-03-24 15:24:45 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-03-24 15:24:45 +0000 |
commit | 1e2c4175dce903986dac66ba9326ae562b159421 (patch) | |
tree | 268939abb7ae1d7a3228846ac9f67e1db6dc387e /src/ex_docmd.c | |
parent | f8e43f6107f3a83b8c74a84c4c8f99598e2dc4c0 (diff) |
patch 8.2.4620: two letter substitute commands don't workv8.2.4620
Problem: Two letter substitute commands don't work. (Yegappan Lakshmanan)
Solution: Invert condition.
Diffstat (limited to 'src/ex_docmd.c')
-rw-r--r-- | src/ex_docmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c index 7c2fe3deb7..65f4221f0d 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') { |