Mercurial > vim
comparison src/highlight.c @ 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 | 513c62184ed8 |
children | 4c317d8c1051 |
comparison
equal
deleted
inserted
replaced
20159:849a2ae89712 | 20160:1acf700beb9c |
---|---|
522 12, 43, 10, 61, | 522 12, 43, 10, 61, |
523 14, 63, 9, 74, 13, | 523 14, 63, 9, 74, 13, |
524 75, 11, 78, 15, -1}; | 524 75, 11, 78, 15, -1}; |
525 // for xterm with 256 colors... | 525 // for xterm with 256 colors... |
526 static int color_numbers_256[28] = {0, 4, 2, 6, | 526 static int color_numbers_256[28] = {0, 4, 2, 6, |
527 1, 5, 130, 130, | 527 1, 5, 130, 3, |
528 248, 248, 7, 7, | 528 248, 248, 7, 7, |
529 242, 242, | 529 242, 242, |
530 12, 81, 10, 121, | 530 12, 81, 10, 121, |
531 14, 159, 9, 224, 13, | 531 14, 159, 9, 224, 13, |
532 225, 11, 229, 15, -1}; | 532 225, 11, 229, 15, -1}; |