fix(highlight): add Nvim{Light,Dark}Gray{1,2,3,4} colors

This commit is contained in:
Evgeni Chasnovski
2024-03-30 11:27:42 +02:00
parent 35239e977f
commit 837f268093
3 changed files with 13 additions and 5 deletions

View File

@ -4776,11 +4776,11 @@ guisp={color-name} *guisp*
Colors which define Nvim's default color scheme: Colors which define Nvim's default color scheme:
NvimDarkBlue NvimLightBlue NvimDarkBlue NvimLightBlue
NvimDarkCyan NvimLightCyan NvimDarkCyan NvimLightCyan
NvimDarkGray1 NvimLightGray1
NvimDarkGray2 NvimLightGray2
NvimDarkGray3 NvimLightGray3
NvimDarkGray4 NvimLightGray4
NvimDarkGreen NvimLightGreen NvimDarkGreen NvimLightGreen
NvimDarkGrey1 NvimLightGrey1
NvimDarkGrey2 NvimLightGrey2
NvimDarkGrey3 NvimLightGrey3
NvimDarkGrey4 NvimLightGrey4
NvimDarkMagenta NvimLightMagenta NvimDarkMagenta NvimLightMagenta
NvimDarkRed NvimLightRed NvimDarkRed NvimLightRed
NvimDarkYellow NvimLightYellow NvimDarkYellow NvimLightYellow

View File

@ -2900,6 +2900,10 @@ color_name_table_T color_name_table[] = {
// for foreground in light/dark color scheme. // for foreground in light/dark color scheme.
{ "NvimDarkBlue", RGB_(0x00, 0x4c, 0x73) }, { "NvimDarkBlue", RGB_(0x00, 0x4c, 0x73) },
{ "NvimDarkCyan", RGB_(0x00, 0x73, 0x73) }, { "NvimDarkCyan", RGB_(0x00, 0x73, 0x73) },
{ "NvimDarkGray1", RGB_(0x07, 0x08, 0x0d) },
{ "NvimDarkGray2", RGB_(0x14, 0x16, 0x1b) },
{ "NvimDarkGray3", RGB_(0x2c, 0x2e, 0x33) },
{ "NvimDarkGray4", RGB_(0x4f, 0x52, 0x58) },
{ "NvimDarkGreen", RGB_(0x00, 0x55, 0x23) }, { "NvimDarkGreen", RGB_(0x00, 0x55, 0x23) },
{ "NvimDarkGrey1", RGB_(0x07, 0x08, 0x0d) }, { "NvimDarkGrey1", RGB_(0x07, 0x08, 0x0d) },
{ "NvimDarkGrey2", RGB_(0x14, 0x16, 0x1b) }, { "NvimDarkGrey2", RGB_(0x14, 0x16, 0x1b) },
@ -2910,6 +2914,10 @@ color_name_table_T color_name_table[] = {
{ "NvimDarkYellow", RGB_(0x6b, 0x53, 0x00) }, { "NvimDarkYellow", RGB_(0x6b, 0x53, 0x00) },
{ "NvimLightBlue", RGB_(0xa6, 0xdb, 0xff) }, { "NvimLightBlue", RGB_(0xa6, 0xdb, 0xff) },
{ "NvimLightCyan", RGB_(0x8c, 0xf8, 0xf7) }, { "NvimLightCyan", RGB_(0x8c, 0xf8, 0xf7) },
{ "NvimLightGray1", RGB_(0xee, 0xf1, 0xf8) },
{ "NvimLightGray2", RGB_(0xe0, 0xe2, 0xea) },
{ "NvimLightGray3", RGB_(0xc4, 0xc6, 0xcd) },
{ "NvimLightGray4", RGB_(0x9b, 0x9e, 0xa4) },
{ "NvimLightGreen", RGB_(0xb3, 0xf6, 0xc0) }, { "NvimLightGreen", RGB_(0xb3, 0xf6, 0xc0) },
{ "NvimLightGrey1", RGB_(0xee, 0xf1, 0xf8) }, { "NvimLightGrey1", RGB_(0xee, 0xf1, 0xf8) },
{ "NvimLightGrey2", RGB_(0xe0, 0xe2, 0xea) }, { "NvimLightGrey2", RGB_(0xe0, 0xe2, 0xea) },

View File

@ -12,7 +12,7 @@ typedef struct {
char *name; char *name;
RgbValue color; RgbValue color;
} color_name_table_T; } color_name_table_T;
extern color_name_table_T color_name_table[700]; extern color_name_table_T color_name_table[708];
#ifdef INCLUDE_GENERATED_DECLARATIONS #ifdef INCLUDE_GENERATED_DECLARATIONS
# include "highlight_group.h.generated.h" # include "highlight_group.h.generated.h"