mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44: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:
@@ -3816,7 +3816,7 @@ do_sub(exarg_T *eap)
|
||||
eap->nextcmd = check_nextcmd(cmd);
|
||||
if (eap->nextcmd == NULL)
|
||||
{
|
||||
emsg(_(e_trailing));
|
||||
semsg(_(e_trailing_arg), cmd);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user