mirror of
https://github.com/neovim/neovim.git
synced 2025-09-18 09:18:19 +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:
@@ -1341,7 +1341,7 @@ void ex_catch(exarg_T *eap)
|
||||
if (!skip && (cstack->cs_flags[idx] & CSF_THROWN)
|
||||
&& !(cstack->cs_flags[idx] & CSF_CAUGHT)) {
|
||||
if (end != NULL && *end != NUL && !ends_excmd(*skipwhite(end + 1))) {
|
||||
emsg(_(e_trailing));
|
||||
semsg(_(e_trailing_arg), end);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user