forked from aniani/vim
patch 8.2.3967: error messages are spread out
Problem: Error messages are spread out. Solution: Move more errors to errors.h.
This commit is contained in:
@@ -2960,7 +2960,7 @@ f_complete_info(typval_T *argvars, typval_T *rettv)
|
||||
{
|
||||
if (argvars[0].v_type != VAR_LIST)
|
||||
{
|
||||
emsg(_(e_listreq));
|
||||
emsg(_(e_list_required));
|
||||
return;
|
||||
}
|
||||
what_list = argvars[0].vval.v_list;
|
||||
@@ -4696,7 +4696,8 @@ ins_compl_show_statusmsg(void)
|
||||
{
|
||||
edit_submode_extra = (compl_cont_status & CONT_ADDING)
|
||||
&& compl_length > 1
|
||||
? (char_u *)_(e_hitend) : (char_u *)_(e_patnotf);
|
||||
? (char_u *)_(e_hitend)
|
||||
: (char_u *)_(e_pattern_not_found);
|
||||
edit_submode_highl = HLF_E;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user