mirror of
https://github.com/vim/vim.git
synced 2025-09-27 04:14:06 -04:00
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.
This commit is contained in:
@@ -1588,7 +1588,7 @@ ex_catch(exarg_T *eap)
|
||||
if (end != NULL && *end != NUL
|
||||
&& !ends_excmd2(end, skipwhite(end + 1)))
|
||||
{
|
||||
emsg(_(e_trailing));
|
||||
semsg(_(e_trailing_arg), end);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user