On Sunday, January 9th, 2022 at 8:05 AM, James McCoy <james...@debian.org> 
wrote:
> 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

Hi

"au ColorScheme * hi link Terminal Normal" in vimrc did not work, but just "hi 
link Terminal Normal" worked and everything is correct again.

Thanks so much for the help.

Regards
Håvard

Reply via email to