diff options
author | Bram Moolenaar <Bram@vim.org> | 2023-05-05 22:12:22 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2023-05-05 22:12:22 +0100 |
commit | 23919540367952f7fbb06350d7b5af96316fbd5f (patch) | |
tree | 59f87cbbca883bef8ca637162761561cafff80a4 /src/terminal.c | |
parent | f2588b6fc90ba85b333ee8f747e8d1ebbc7e6300 (diff) |
patch 9.0.1509: error message lacks mentioning the erroneous argumentv9.0.1509
Problem: Error message lacks mentioning the erroneous argument.
Solution: Specify the argument that the error is for.
Diffstat (limited to 'src/terminal.c')
-rw-r--r-- | src/terminal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/terminal.c b/src/terminal.c index 683b74fa86..fde77219dc 100644 --- a/src/terminal.c +++ b/src/terminal.c @@ -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; } |