mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.2.2480: Vim9: some errors for white space do not show context
Problem: Vim9: some errors for white space do not show context. Solution: Include the text at the error.
This commit is contained in:
@@ -629,7 +629,7 @@ vim9_declare_scriptvar(exarg_T *eap, char_u *arg)
|
||||
}
|
||||
if (!VIM_ISWHITE(p[1]))
|
||||
{
|
||||
semsg(_(e_white_space_required_after_str), ":");
|
||||
semsg(_(e_white_space_required_after_str_str), ":", p);
|
||||
return arg + STRLEN(arg);
|
||||
}
|
||||
name = vim_strnsave(arg, p - arg);
|
||||
|
Reference in New Issue
Block a user