|
|
|
@ -5,7 +5,7 @@
@@ -5,7 +5,7 @@
|
|
|
|
|
* |
|
|
|
|
* font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html
|
|
|
|
|
*/ |
|
|
|
|
static char *font = "Fira Code:pixelsize=18:antialias=true:autohint=true"; |
|
|
|
|
static char *font = "Comic Code Ligatures:pixelsize=18:antialias=true:autohint=true"; |
|
|
|
|
#if FONT2_PATCH |
|
|
|
|
/* Spare fonts */ |
|
|
|
|
static char *font2[] = { |
|
|
|
@ -152,32 +152,31 @@ float alphaUnfocused = 0.6;
@@ -152,32 +152,31 @@ float alphaUnfocused = 0.6;
|
|
|
|
|
/* Terminal colors (16 first used in escape sequence) */ |
|
|
|
|
static const char *colorname[] = { |
|
|
|
|
/* 8 normal colors */ |
|
|
|
|
"black", |
|
|
|
|
"red3", |
|
|
|
|
"green3", |
|
|
|
|
"yellow3", |
|
|
|
|
"blue2", |
|
|
|
|
"magenta3", |
|
|
|
|
"cyan3", |
|
|
|
|
"gray90", |
|
|
|
|
|
|
|
|
|
"#3b4252", /* 0: nord1 */ |
|
|
|
|
"#bf616a", /* 1: nord11 */ |
|
|
|
|
"#a3be8c", /* 2: nord14 */ |
|
|
|
|
"#ebcb8b", /* 3: nord13 */ |
|
|
|
|
"#81a1c1", /* 4: nord9 */ |
|
|
|
|
"#b48ead", /* 5: nord15 */ |
|
|
|
|
"#88c0d0", /* 6: nord8 */ |
|
|
|
|
"#e5e9f0", /* 7: nord5 */ |
|
|
|
|
/* 8 bright colors */ |
|
|
|
|
"gray50", |
|
|
|
|
"red", |
|
|
|
|
"green", |
|
|
|
|
"yellow", |
|
|
|
|
"#5c5cff", |
|
|
|
|
"magenta", |
|
|
|
|
"cyan", |
|
|
|
|
"white", |
|
|
|
|
"#4c566a", /* 8: nord3 */ |
|
|
|
|
"#bf616a", /* 9: nord11 */ |
|
|
|
|
"#a3be8c", /* 10: nord14 */ |
|
|
|
|
"#ebcb8b", /* 11: nord3 */ |
|
|
|
|
"#81a1c1", /* 12: nord9 */ |
|
|
|
|
"#b48ead", /* 13: nord15 */ |
|
|
|
|
"#8fbcbb", /* 14: nord7 */ |
|
|
|
|
"#eceff4", /* 15: nord6 */ |
|
|
|
|
|
|
|
|
|
[255] = 0, |
|
|
|
|
|
|
|
|
|
/* more colors can be added after 255 to use with DefaultXX */ |
|
|
|
|
"#add8e6", /* 256 -> cursor */ |
|
|
|
|
"#555555", /* 257 -> rev cursor*/ |
|
|
|
|
"#000000", /* 258 -> bg */ |
|
|
|
|
"#e5e5e5", /* 259 -> fg */ |
|
|
|
|
"#d8dee9", /* 256 -> cursor */ |
|
|
|
|
"#2e3440", /* 257 -> rev cursor*/ |
|
|
|
|
"#000000", /* 256 -> bg */ /* 258 */ |
|
|
|
|
"#e5e5e5", /* 8 -> fg */ /* 259 */ |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -189,11 +188,11 @@ static const char *colorname[] = {
@@ -189,11 +188,11 @@ static const char *colorname[] = {
|
|
|
|
|
unsigned int defaultbg = 0; |
|
|
|
|
unsigned int bg = 17, bgUnfocused = 16; |
|
|
|
|
#else |
|
|
|
|
unsigned int defaultbg = 258; |
|
|
|
|
unsigned int defaultbg = 257; |
|
|
|
|
#endif // ALPHA_FOCUS_HIGHLIGHT_PATCH
|
|
|
|
|
unsigned int defaultfg = 259; |
|
|
|
|
unsigned int defaultfg = 256; |
|
|
|
|
unsigned int defaultcs = 256; |
|
|
|
|
unsigned int defaultrcs = 257; |
|
|
|
|
unsigned int defaultrcs = 8; |
|
|
|
|
|
|
|
|
|
#if VIM_BROWSE_PATCH |
|
|
|
|
unsigned int const currentBg = 6, buffSize = 2048; |
|
|
|
|