diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-04-25 15:35:32 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-04-25 15:35:32 +0200 |
commit | e93c968f520ee8d6bc29ccc6e18055ac65e832b3 (patch) | |
tree | b3679fce004e7c991422d9aed18aca364b3f47aa | |
parent | 92b83ccfda7a1d654ccaaf161a9c8a8e01fbcf76 (diff) | |
download | vim-git-e93c968f520ee8d6bc29ccc6e18055ac65e832b3.tar.gz |
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.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/highlight.c b/src/highlight.c index 9c9e44599..64f37a4e8 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 b05d3d884..2fcabeba4 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, |