mirror of
https://github.com/neovim/neovim.git
synced 2025-11-21 09:36:29 +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:
@@ -15,7 +15,7 @@ describe('Visual highlight', function()
|
||||
screen:set_default_attr_ids({
|
||||
[0] = { foreground = Screen.colors.Blue, bold = true }, -- NonText
|
||||
[1] = { bold = true }, -- ModeMsg
|
||||
[2] = { background = Screen.colors.LightGrey }, -- Visual
|
||||
[2] = { background = Screen.colors.LightGrey, foreground = Screen.colors.Black }, -- Visual
|
||||
})
|
||||
screen:attach()
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user