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)
diff --git a/src/cmdexpand.c b/src/cmdexpand.c
index 3ef3e1d..e7cf819 100644
--- a/src/cmdexpand.c
+++ b/src/cmdexpand.c
@@ -992,7 +992,7 @@
}
// 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;