mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.2.2266: Vim9: it can be hard to see where white space is missing
Problem: Vim9: it can be hard to see where white space is missing. Solution: Mention the text where the error was seen. (closes #7580)
This commit is contained in:
@@ -863,7 +863,8 @@ ex_let(exarg_T *eap)
|
||||
|| !IS_WHITE_OR_NUL(*expr)))
|
||||
{
|
||||
vim_strncpy(op, expr - len, len);
|
||||
semsg(_(e_white_space_required_before_and_after_str), op);
|
||||
semsg(_(e_white_space_required_before_and_after_str_at_str),
|
||||
op, argend);
|
||||
i = FAIL;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user