mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
patch 8.2.4008: error messages are spread out
Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
This commit is contained in:
@@ -209,7 +209,7 @@ tv_get_bool_or_number_chk(typval_T *varp, int *denote, int want_bool)
|
||||
STR2NR_ALL, &n, NULL, 0, FALSE);
|
||||
return n;
|
||||
case VAR_LIST:
|
||||
emsg(_("E745: Using a List as a Number"));
|
||||
emsg(_(e_using_list_as_number));
|
||||
break;
|
||||
case VAR_DICT:
|
||||
emsg(_(e_using_dictionary_as_number));
|
||||
|
Reference in New Issue
Block a user