From 313ecfec8129a1416c4d31c7656b28477a7331ba Mon Sep 17 00:00:00 2001 From: terriblephrases Date: Mon, 3 Dec 2018 17:38:57 +0100 Subject: [PATCH] sets correct gruvbox defaultfg and cursor colors, restores poss. to use 257+ colors --- config.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/config.h b/config.h index 0d8652d..c4a112e 100644 --- a/config.h +++ b/config.h @@ -102,9 +102,10 @@ static const char *colorname[] = { "#d3869b", "#8ec07c", "#ebdbb2", + [255] = 0, /* more colors can be added after 255 to use with DefaultXX */ "black", /* 256 -> bg */ - "brwhite", /* 257 -> fg */ + "white", /* 257 -> fg */ }; @@ -112,10 +113,10 @@ static const char *colorname[] = { * Default colors (colorname index) * foreground, background, cursor, reverse cursor */ -unsigned int defaultfg = 12; +unsigned int defaultfg = 15; unsigned int defaultbg = 0; -static unsigned int defaultcs = 14; -static unsigned int defaultrcs = 15; +static unsigned int defaultcs = 15; +static unsigned int defaultrcs = 0; /* * Default shape of cursor