mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -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:
@@ -797,7 +797,7 @@ get_lval(
|
||||
if (unlet && !VIM_ISWHITE(*p) && !ends_excmd(*p)
|
||||
&& *p != '[' && *p != '.')
|
||||
{
|
||||
emsg(_(e_trailing));
|
||||
semsg(_(e_trailing_arg), p);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user