mirror of
https://github.com/neovim/neovim
synced 2025-07-16 01:01:49 +00:00
vim-patch:9.1.0106: Visual highlight hard to read with 'termguicolors'
Problem: Visual highlight hard to read with 'termguicolors'
(Maxim Kim)
Solution: Set Visual GUI foreground to black (with background=light)
and lightgrey (with background=dark)
(Maxim Kim)
fixes: vim/vim#14024
closes: vim/vim#14025
34e4a05d02
Co-authored-by: Maxim Kim <habamax@gmail.com>
This commit is contained in:
@ -869,8 +869,8 @@ describe('float window', function()
|
||||
[24] = {foreground = Screen.colors.Black, background = Screen.colors.Grey80};
|
||||
[25] = {blend = 100, background = Screen.colors.Gray0};
|
||||
[26] = {blend = 80, background = Screen.colors.Gray0};
|
||||
[27] = {background = Screen.colors.LightGray};
|
||||
[28] = {foreground = Screen.colors.DarkBlue, background = Screen.colors.LightGray};
|
||||
[27] = {foreground = Screen.colors.Black, background = Screen.colors.LightGrey};
|
||||
[28] = {foreground = Screen.colors.DarkBlue, background = Screen.colors.LightGrey};
|
||||
}
|
||||
screen:set_default_attr_ids(attrs)
|
||||
end)
|
||||
@ -7448,8 +7448,8 @@ describe('float window', function()
|
||||
[10] = {foreground = Screen.colors.Red, background = Screen.colors.LightMagenta, blend = 0},
|
||||
[11] = {foreground = Screen.colors.Red, background = Screen.colors.LightMagenta, blend = 80},
|
||||
[12] = {background = Screen.colors.LightMagenta, bold = true, foreground = Screen.colors.Blue1, blend = 30},
|
||||
[13] = {background = Screen.colors.LightGray, blend = 30},
|
||||
[14] = {foreground = Screen.colors.Grey0, background = Screen.colors.Grey88},
|
||||
[13] = {foreground = Screen.colors.Black, background = Screen.colors.LightGray, blend = 30},
|
||||
[14] = {foreground = Screen.colors.Black, background = Screen.colors.Grey88},
|
||||
[15] = {foreground = tonumber('0x939393'), background = Screen.colors.Grey88},
|
||||
[16] = {background = Screen.colors.Grey90};
|
||||
[17] = {blend = 100};
|
||||
|
Reference in New Issue
Block a user