Mercurial > vim
diff src/terminal.c @ 32355:d202ddc6178f v9.0.1509
patch 9.0.1509: error message lacks mentioning the erroneous argument
Commit: https://github.com/vim/vim/commit/23919540367952f7fbb06350d7b5af96316fbd5f
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri May 5 22:12:22 2023 +0100
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.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 05 May 2023 23:15:04 +0200 |
parents | 93b3ca8df26a |
children | a1e1527d1cb8 |
line wrap: on
line diff
--- a/src/terminal.c +++ b/src/terminal.c @@ -6562,7 +6562,7 @@ f_term_setansicolors(typval_T *argvars, 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; }