1
0
forked from aniani/vim

patch 8.2.1444: error messages are spread out and names can be confusing

Problem:    Error messages are spread out and names can be confusing.
Solution:   Start moving error messages to a separate file and use clear
            names.
This commit is contained in:
Bram Moolenaar
2020-08-13 22:47:35 +02:00
parent cdd70f09a5
commit bc4c505166
18 changed files with 345 additions and 310 deletions

View File

@@ -1204,7 +1204,7 @@ eval_list(char_u **arg, typval_T *rettv, evalarg_T *evalarg, int do_error)
{
if (vim9script && !IS_WHITE_OR_NUL((*arg)[1]))
{
semsg(_(e_white_after), ",");
semsg(_(e_white_space_required_after), ",");
goto failret;
}
*arg = skipwhite(*arg + 1);
@@ -1221,7 +1221,7 @@ eval_list(char_u **arg, typval_T *rettv, evalarg_T *evalarg, int do_error)
if (do_error)
{
if (**arg == ',')
semsg(_(e_no_white_before), ",");
semsg(_(e_no_white_space_allowed_before), ",");
else
semsg(_("E696: Missing comma in List: %s"), *arg);
}