]> granicus.if.org Git - vim/commitdiff
patch 8.2.0635: when using 256 colors DarkYellow does not show expected color v8.2.0635
authorBram Moolenaar <Bram@vim.org>
Sat, 25 Apr 2020 13:35:32 +0000 (15:35 +0200)
committerBram Moolenaar <Bram@vim.org>
Sat, 25 Apr 2020 13:35:32 +0000 (15:35 +0200)
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
src/version.c

index 9c9e44599fc18f629cd44edee679ae304c208679..64f37a4e8d61c1828d816cfa45fa665a80e99510 100644 (file)
@@ -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,
index b05d3d884f9f3335758efa1bb776bc1c1c3b48bd..2fcabeba4f1757a1633d7115ca9aeaf2e1ef04ce 100644 (file)
@@ -746,6 +746,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    635,
 /**/
     634,
 /**/