mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
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: #14024 closes: #14025 Signed-off-by: Maxim Kim <habamax@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
9b53c052d5
commit
34e4a05d02
@@ -222,7 +222,7 @@ static char *(highlight_init_light[]) = {
|
|||||||
"SignColumn term=standout ctermbg=Grey ctermfg=DarkBlue guibg=Grey guifg=DarkBlue"),
|
"SignColumn term=standout ctermbg=Grey ctermfg=DarkBlue guibg=Grey guifg=DarkBlue"),
|
||||||
#endif
|
#endif
|
||||||
CENT("Visual ctermbg=Grey ctermfg=Black",
|
CENT("Visual ctermbg=Grey ctermfg=Black",
|
||||||
"Visual ctermbg=Grey ctermfg=Black guibg=LightGrey"),
|
"Visual ctermbg=Grey ctermfg=Black guibg=LightGrey guifg=Black"),
|
||||||
#ifdef FEAT_DIFF
|
#ifdef FEAT_DIFF
|
||||||
CENT("DiffAdd term=bold ctermbg=LightBlue",
|
CENT("DiffAdd term=bold ctermbg=LightBlue",
|
||||||
"DiffAdd term=bold ctermbg=LightBlue guibg=LightBlue"),
|
"DiffAdd term=bold ctermbg=LightBlue guibg=LightBlue"),
|
||||||
@@ -311,7 +311,7 @@ static char *(highlight_init_dark[]) = {
|
|||||||
"SignColumn term=standout ctermbg=DarkGrey ctermfg=Cyan guibg=Grey guifg=Cyan"),
|
"SignColumn term=standout ctermbg=DarkGrey ctermfg=Cyan guibg=Grey guifg=Cyan"),
|
||||||
#endif
|
#endif
|
||||||
CENT("Visual ctermbg=Grey ctermfg=Black",
|
CENT("Visual ctermbg=Grey ctermfg=Black",
|
||||||
"Visual ctermbg=Grey ctermfg=Black guibg=#575757"),
|
"Visual ctermbg=Grey ctermfg=Black guibg=#575757 guifg=LightGrey"),
|
||||||
#ifdef FEAT_DIFF
|
#ifdef FEAT_DIFF
|
||||||
CENT("DiffAdd term=bold ctermbg=DarkBlue",
|
CENT("DiffAdd term=bold ctermbg=DarkBlue",
|
||||||
"DiffAdd term=bold ctermbg=DarkBlue guibg=DarkBlue"),
|
"DiffAdd term=bold ctermbg=DarkBlue guibg=DarkBlue"),
|
||||||
|
@@ -704,6 +704,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
106,
|
||||||
/**/
|
/**/
|
||||||
105,
|
105,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user