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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user