On Sun, Jan 09, 2022 at 03:47:40AM +0000, Håvard Moen wrote: > On Sunday, January 9th, 2022 at 2:30 AM, James McCoy <james...@debian.org> > wrote: > > > > Some more details about how things differ would be useful. Maybe even > > > > > screen shots. > > Attaching screenshots showing the difference. I also see that popups as used > for instance by https://github.com/junegunn/fzf.vim also has the wrong colors. > Another thing I now see and which is show in the screenshots, is that when > going to normal mode in the terminal, the part of the terminal without text > get the right color.
There were a couple of issues in Vim that led to this change in behavior, due to wanting the terminal running Vim's normal colors to be used if Vim's highlight groups didn't specify any colors. * https://github.com/vim/vim/issues/2361 * https://github.com/vim/vim/issues/9058 However, the documentation also looks like this is intended behavior. From “:help terminal-size-color”: For a color terminal the 'background' option is used to decide whether the terminal window will start with a white or black background. To use a different color the Terminal highlight group can be used, for example: > hi Terminal ctermbg=lightgrey ctermfg=blue guibg=lightgrey guifg=blue Does adding “au ColorScheme * hi link Terminal Normal” to your vimrc behave more like you're expecting? If not, maybe the changes for terminal Vim and an adverse effect on GUI Vim. Cheers, -- James GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7 2D23 DFE6 91AE 331B A3DB
signature.asc
Description: PGP signature