From e93c968f520ee8d6bc29ccc6e18055ac65e832b3 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 25 Apr 2020 15:35:32 +0200 Subject: [PATCH] patch 8.2.0635: when using 256 colors DarkYellow does not show expected color Problem: When using 256 colors DarkYellow does not show expected color. Solution: Use color 3 instead of 130. (Romain Lafourcade, closes #5985) --- src/highlight.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/highlight.c b/src/highlight.c index 9c9e44599fc18..64f37a4e8d61c 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 b05d3d884f9f3..2fcabeba4f175 100644 --- a/src/version.c +++ b/src/version.c @@ -746,6 +746,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 635, /**/ 634, /**/