mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 8.2.1504: Vim9: white space checks are only done for a :def function
Problem: Vim9: white space checks are only done for a :def function. Solution: Also do checks at the script level. Adjust the name of a few error messages.
This commit is contained in:
@@ -811,7 +811,7 @@ ex_let(exarg_T *eap)
|
||||
|| !IS_WHITE_OR_NUL(*expr)))
|
||||
{
|
||||
vim_strncpy(op, expr - len, len);
|
||||
semsg(_(e_white_space_required_before_and_after), op);
|
||||
semsg(_(e_white_space_required_before_and_after_str), op);
|
||||
i = FAIL;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user