1
0
forked from aniani/vim

patch 8.2.1679: Vim9: ":*" is not recognized as a range

Problem:    Vim9: ":*" is not recognized as a range.
Solution:   Move recognizing "*" into skip_range(). (closes #6838)
This commit is contained in:
Bram Moolenaar
2020-09-14 16:37:34 +02:00
parent d1f76afaf9
commit 3bd8de40b4
8 changed files with 33 additions and 13 deletions

View File

@@ -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;