1
0
forked from aniani/vim

patch 8.2.4147: E464 does not always include the offending command

Problem:    E464 does not always include the offending command.
Solution:   Add another error message with "%s". (closes #9564)
This commit is contained in:
Bram Moolenaar
2022-01-19 20:48:37 +00:00
parent f67c717e34
commit bed34f0a8a
5 changed files with 36 additions and 2 deletions

View File

@@ -2878,7 +2878,7 @@ compile_def_function(
if (p == NULL)
{
if (cctx.ctx_skip != SKIP_YES)
emsg(_(e_ambiguous_use_of_user_defined_command));
semsg(_(e_ambiguous_use_of_user_defined_command_str), ea.cmd);
goto erret;
}