diff options
author | Evgeni Chasnovski <evgeni.chasnovski@gmail.com> | 2024-05-23 23:59:11 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-23 13:59:11 -0700 |
commit | 9b9f54e2c1cd3a1aae7de33a5d0e70be8d57b1fd (patch) | |
tree | f02075d0b6ee875ddfbdf20cdf77308641465217 /src | |
parent | 0a2218f965ac8cd7967d33b8c52e5b06fb284aac (diff) | |
download | rneovim-9b9f54e2c1cd3a1aae7de33a5d0e70be8d57b1fd.tar.gz rneovim-9b9f54e2c1cd3a1aae7de33a5d0e70be8d57b1fd.tar.bz2 rneovim-9b9f54e2c1cd3a1aae7de33a5d0e70be8d57b1fd.zip |
fix(colorscheme): underline StatusLineNC with 'notermguicolors' #28810
Problem: statusline for non-active window can be hard to distinguish
from normal text with 'notermguicolors'. It was set to use only bold
text to find a balance between being not too similar to active
statusline and normal text, and be supported in enough terminal
emulators (if it does not support 'termguicolors' there is higher
chance that it also does not support underline).
Solution: reconsider balance by placing more emphasis on making
non-active statusline more distinguishable.
This also results into tabline being shown with underline which
aligns with "make more distinguishable" shift.
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/highlight_group.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/highlight_group.c b/src/nvim/highlight_group.c index 1c47791a65..ccb093c116 100644 --- a/src/nvim/highlight_group.c +++ b/src/nvim/highlight_group.c @@ -369,7 +369,7 @@ static const char *highlight_init_light[] = { "SpellLocal guisp=NvimDarkGreen gui=undercurl cterm=undercurl", "SpellRare guisp=NvimDarkCyan gui=undercurl cterm=undercurl", "StatusLine guifg=NvimLightGrey3 guibg=NvimDarkGrey3 cterm=reverse", - "StatusLineNC guifg=NvimDarkGrey3 guibg=NvimLightGrey3 cterm=bold", + "StatusLineNC guifg=NvimDarkGrey3 guibg=NvimLightGrey3 cterm=bold,underline", "Title guifg=NvimDarkGrey2 gui=bold cterm=bold", "Visual guibg=NvimLightGrey4 ctermfg=15 ctermbg=0", "WarningMsg guifg=NvimDarkYellow ctermfg=3", @@ -454,7 +454,7 @@ static const char *highlight_init_dark[] = { "SpellLocal guisp=NvimLightGreen gui=undercurl cterm=undercurl", "SpellRare guisp=NvimLightCyan gui=undercurl cterm=undercurl", "StatusLine guifg=NvimDarkGrey3 guibg=NvimLightGrey3 cterm=reverse", - "StatusLineNC guifg=NvimLightGrey3 guibg=NvimDarkGrey3 cterm=bold", + "StatusLineNC guifg=NvimLightGrey3 guibg=NvimDarkGrey3 cterm=bold,underline", "Title guifg=NvimLightGrey2 gui=bold cterm=bold", "Visual guibg=NvimDarkGrey4 ctermfg=0 ctermbg=15", "WarningMsg guifg=NvimLightYellow ctermfg=11", |