mirror of
https://github.com/neovim/neovim.git
synced 2025-12-16 03:15:39 +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:
@@ -22,7 +22,7 @@ describe('ui/mouse/input', function()
|
||||
screen:attach()
|
||||
screen:set_default_attr_ids({
|
||||
[0] = { bold = true, foreground = Screen.colors.Blue },
|
||||
[1] = { background = Screen.colors.LightGrey },
|
||||
[1] = { background = Screen.colors.LightGrey, foreground = Screen.colors.Black },
|
||||
[2] = { bold = true },
|
||||
[3] = {
|
||||
foreground = Screen.colors.Blue,
|
||||
@@ -561,7 +561,7 @@ describe('ui/mouse/input', function()
|
||||
tab = { background = Screen.colors.LightGrey, underline = true },
|
||||
sel = { bold = true },
|
||||
fill = { reverse = true },
|
||||
vis = { background = Screen.colors.LightGrey },
|
||||
vis = { background = Screen.colors.LightGrey, foreground = Screen.colors.Black },
|
||||
})
|
||||
feed_command('silent file foo | tabnew | file bar')
|
||||
insert('this is bar')
|
||||
|
||||
Reference in New Issue
Block a user