changeset 20160:1acf700beb9c v8.2.0635

patch 8.2.0635: when using 256 colors DarkYellow does not show expected color Commit: https://github.com/vim/vim/commit/e93c968f520ee8d6bc29ccc6e18055ac65e832b3 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Apr 25 15:35:32 2020 +0200 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 https://github.com/vim/vim/issues/5985)
author Bram Moolenaar <Bram@vim.org>
date Sat, 25 Apr 2020 15:45:04 +0200
parents 849a2ae89712
children 62b955723f46
files src/highlight.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/highlight.c
+++ b/src/highlight.c
@@ -524,7 +524,7 @@ static int color_numbers_88[28] = {0, 4,
 				 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,
--- 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,