diff options
author | Drew Vogel <dvogel@github> | 2021-10-24 20:35:07 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-10-24 20:35:07 +0100 |
commit | e30d10253fa634c4f60daa798d029245f4eed393 (patch) | |
tree | 57aca74b65dc4c3924ef23185b8cb2b6933996c2 /src/proto/highlight.pro | |
parent | 3c5904d2a5d7861c227a4c3cd4ddcbc51014c838 (diff) | |
download | vim-git-e30d10253fa634c4f60daa798d029245f4eed393.tar.gz |
patch 8.2.3562: cannot add color namesv8.2.3562
Problem: Cannot add color names.
Solution: Add the v:colornames dictionary. (Drew Vogel, closes #8761)
Diffstat (limited to 'src/proto/highlight.pro')
-rw-r--r-- | src/proto/highlight.pro | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/proto/highlight.pro b/src/proto/highlight.pro index ca4498140..4c6b2f75c 100644 --- 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); |