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:
@@ -289,7 +289,7 @@ ex_menu(
|
||||
}
|
||||
else if (*map_to != NUL && (unmenu || enable != MAYBE))
|
||||
{
|
||||
emsg(_(e_trailing));
|
||||
semsg(_(e_trailing_arg), map_to);
|
||||
goto theend;
|
||||
}
|
||||
#if defined(FEAT_GUI) && !(defined(FEAT_GUI_GTK) || defined(FEAT_GUI_PHOTON))
|
||||
|
Reference in New Issue
Block a user