1
0
forked from aniani/vim

patch 9.0.1509: error message lacks mentioning the erroneous argument

Problem:    Error message lacks mentioning the erroneous argument.
Solution:   Specify the argument that the error is for.
This commit is contained in:
Bram Moolenaar
2023-05-05 22:12:22 +01:00
parent f2588b6fc9
commit 2391954036
3 changed files with 4 additions and 1 deletions

View File

@@ -6562,7 +6562,7 @@ f_term_setansicolors(typval_T *argvars, typval_T *rettv UNUSED)
if (argvars[1].vval.v_list->lv_first == &range_list_item
|| argvars[1].vval.v_list->lv_len != 16)
{
emsg(_(e_invalid_argument));
semsg(_(e_invalid_value_for_argument_str), "\"colors\"");
return;
}