diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-09-14 16:37:34 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-09-14 16:37:34 +0200 |
commit | 3bd8de40b484d3617a19092d3cc036f8b4f3d51c (patch) | |
tree | b0ec9e16a8cfc27719141e162dce6fd7510266f5 /src/cmdexpand.c | |
parent | d1f76afaf963be706697279ab0570ffcb8a1f2fc (diff) |
patch 8.2.1679: Vim9: ":*" is not recognized as a rangev8.2.1679
Problem: Vim9: ":*" is not recognized as a range.
Solution: Move recognizing "*" into skip_range(). (closes #6838)
Diffstat (limited to 'src/cmdexpand.c')
-rw-r--r-- | src/cmdexpand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmdexpand.c b/src/cmdexpand.c index 3ef3e1d8bd..e7cf819981 100644 --- a/src/cmdexpand.c +++ b/src/cmdexpand.c @@ -992,7 +992,7 @@ set_one_cmd_context( } // 3. Skip over the range to find the command. - cmd = skip_range(cmd, &xp->xp_context); + cmd = skip_range(cmd, TRUE, &xp->xp_context); xp->xp_pattern = cmd; if (*cmd == NUL) return NULL; |