1
0
forked from aniani/vim

patch 8.2.3190: error messages are spread out

Problem:    Error messages are spread out.
Solution:   Move error messages to errors.h and give them a clear name.
This commit is contained in:
Bram Moolenaar
2021-07-20 21:07:36 +02:00
parent 9fa5dabedc
commit e29a27f6f8
29 changed files with 127 additions and 98 deletions

View File

@@ -3049,7 +3049,7 @@ f_reduce(typval_T *argvars, typval_T *rettv)
}
else if (argvars[2].v_type != VAR_NUMBER)
{
emsg(_(e_number_exp));
emsg(_(e_number_expected));
return;
}
else