Mercurial > vim
diff src/errors.h @ 26057:92c424550367 v8.2.3562
patch 8.2.3562: cannot add color names
Commit: https://github.com/vim/vim/commit/e30d10253fa634c4f60daa798d029245f4eed393
Author: Drew Vogel <dvogel@github>
Date: Sun Oct 24 20:35:07 2021 +0100
patch 8.2.3562: cannot add color names
Problem: Cannot add color names.
Solution: Add the v:colornames dictionary. (Drew Vogel, closes https://github.com/vim/vim/issues/8761)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 24 Oct 2021 21:45:04 +0200 |
parents | cb5f2515a450 |
children | 8b8470b511f5 |
line wrap: on
line diff
--- a/src/errors.h +++ b/src/errors.h @@ -147,6 +147,10 @@ EXTERN char e_no_such_user_defined_comma EXTERN char e_no_digraphs_version[] INIT(= N_("E196: No digraphs in this version")); #endif +#if defined(FEAT_GUI) || defined(FEAT_TERMGUICOLORS) +EXTERN char e_cannot_allocate_color_str[] + INIT(= N_("E254: Cannot allocate color %s")); +#endif EXTERN char e_ambiguous_use_of_user_defined_command[] INIT(= N_("E464: Ambiguous use of user-defined command")); EXTERN char e_invalid_command[] @@ -678,3 +682,5 @@ EXTERN char e_no_white_space_allowed_bef INIT(= N_("E1242: No white space allowed before separator: %s")); EXTERN char e_ascii_code_not_in_range[] INIT(= N_("E1243: ASCII code not in 32-127 range")); +EXTERN char e_bad_color_string_str[] + INIT(= N_("E1244: Bad color string: %s"));