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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user