mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 14:08:32 +00:00
vim-patch:8.2.1281: the "trailing characters" error can be hard to understand
Problem: The "trailing characters" error can be hard to understand.
Solution: Add the trailing characters to the message.
2d06bfde29
This commit is contained in:
@@ -6525,7 +6525,7 @@ void ex_history(exarg_T *eap)
|
||||
histype1 = 0;
|
||||
histype2 = HIST_COUNT - 1;
|
||||
} else {
|
||||
emsg(_(e_trailing));
|
||||
semsg(_(e_trailing_arg), arg);
|
||||
return;
|
||||
}
|
||||
} else {
|
||||
@@ -6535,7 +6535,7 @@ void ex_history(exarg_T *eap)
|
||||
end = arg;
|
||||
}
|
||||
if (!get_list_range(&end, &hisidx1, &hisidx2) || *end != NUL) {
|
||||
emsg(_(e_trailing));
|
||||
semsg(_(e_trailing_arg), end);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user