mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
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:
@@ -3150,7 +3150,7 @@ def_function(exarg_T *eap, char_u *name_arg)
|
||||
}
|
||||
|
||||
// Check for ":append", ":change", ":insert". Not for :def.
|
||||
p = skip_range(p, NULL);
|
||||
p = skip_range(p, FALSE, NULL);
|
||||
if (eap->cmdidx != CMD_def
|
||||
&& ((p[0] == 'a' && (!ASCII_ISALPHA(p[1]) || p[1] == 'p'))
|
||||
|| (p[0] == 'c'
|
||||
|
Reference in New Issue
Block a user