forked from aniani/vim
patch 8.2.3970: error messages are spread out
Problem: Error messages are spread out. Solution: Move more errors to errors.h.
This commit is contained in:
@@ -724,7 +724,7 @@ ex_history(exarg_T *eap)
|
||||
else
|
||||
{
|
||||
*end = i;
|
||||
semsg(_(e_trailing_arg), arg);
|
||||
semsg(_(e_trailing_characters_str), arg);
|
||||
return;
|
||||
}
|
||||
}
|
||||
@@ -736,7 +736,7 @@ ex_history(exarg_T *eap)
|
||||
end = arg;
|
||||
if (!get_list_range(&end, &hisidx1, &hisidx2) || *end != NUL)
|
||||
{
|
||||
semsg(_(e_trailing_arg), end);
|
||||
semsg(_(e_trailing_characters_str), end);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user