Mercurial > vim
diff src/proto/highlight.pro @ 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 | b1fac55cf8a3 |
children | c544eacaf066 |
line wrap: on
line diff
--- a/src/proto/highlight.pro +++ b/src/proto/highlight.pro @@ -14,6 +14,12 @@ void hl_set_font_name(char_u *font_name) void hl_set_bg_color_name(char_u *name); void hl_set_fg_color_name(char_u *name); guicolor_T color_name2handle(char_u *name); +guicolor_T decode_hex_color(char_u *hex); +guicolor_T colorname2rgb(char_u *name); +void save_colorname_hexstr(int r, int g, int b, char_u *name); +void load_default_colors_lists(void); +guicolor_T gui_get_color_cmn(char_u *name); +guicolor_T gui_get_rgb_color_cmn(int r, int g, int b); int get_cterm_attr_idx(int attr, int fg, int bg); int get_tgc_attr_idx(int attr, guicolor_T fg, guicolor_T bg); int get_gui_attr_idx(int attr, guicolor_T fg, guicolor_T bg);