Mercurial > vim
diff src/errors.h @ 22930:84567584951f v8.2.2012
patch 8.2.2012: Vim9: confusing error message when using bool wrongly
Commit: https://github.com/vim/vim/commit/d92cc130fbb1beacf6411ee5837545f46f9be90e
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Nov 18 17:17:15 2020 +0100
patch 8.2.2012: Vim9: confusing error message when using bool wrongly
Problem: Vim9: confusing error message when using bool wrongly.
Solution: Mention "Bool" instead of "Special". (closes https://github.com/vim/vim/issues/7323)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 18 Nov 2020 17:30:04 +0100 |
parents | 6d50182e7e24 |
children | 00b0275ffe7f |
line wrap: on
line diff
--- a/src/errors.h +++ b/src/errors.h @@ -301,3 +301,5 @@ EXTERN char e_cmd_mapping_must_end_with_ INIT(=N_("E1136: <Cmd> mapping must end with <CR> before second <Cmd>")); EXTERN char e_cmd_maping_must_not_include_str_key[] INIT(= N_("E1137: <Cmd> mapping must not include %s key")); +EXTERN char e_using_bool_as_number[] + INIT(= N_("E1138: Using a Bool as a Number"));