summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-04-25 15:35:32 +0200
committerBram Moolenaar <Bram@vim.org>2020-04-25 15:35:32 +0200
commite93c968f520ee8d6bc29ccc6e18055ac65e832b3 (patch)
treeb3679fce004e7c991422d9aed18aca364b3f47aa
parent92b83ccfda7a1d654ccaaf161a9c8a8e01fbcf76 (diff)
patch 8.2.0635: when using 256 colors DarkYellow does not show expected colorv8.2.0635
Problem: When using 256 colors DarkYellow does not show expected color. Solution: Use color 3 instead of 130. (Romain Lafourcade, closes #5985)
-rw-r--r--src/highlight.c2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/highlight.c b/src/highlight.c
index 9c9e44599f..64f37a4e8d 100644
--- a/src/highlight.c
+++ b/src/highlight.c
@@ -524,7 +524,7 @@ static int color_numbers_88[28] = {0, 4, 2, 6,
75, 11, 78, 15, -1};
// for xterm with 256 colors...
static int color_numbers_256[28] = {0, 4, 2, 6,
- 1, 5, 130, 130,
+ 1, 5, 130, 3,
248, 248, 7, 7,
242, 242,
12, 81, 10, 121,
diff --git a/src/version.c b/src/version.c
index b05d3d884f..2fcabeba4f 100644
--- a/src/version.c
+++ b/src/version.c
@@ -747,6 +747,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 635,
+/**/
634,
/**/
633,