gruvbox-community / gruvbox

Retro groove color scheme for Vim - community maintained edition
MIT License
801 stars 62 forks source link

Some lines's background is discolored #43

Closed rbong closed 5 years ago

rbong commented 5 years ago

Mysterious bug, running colorscheme gruvbux seems to fix it for the part that is currently displayed, but when I scroll down and up again the discoloration shows up again. 2018-02-18-195906_1920x1080_scrot

:robot: This issue has been automatically copied from morhetz#228 :robot:

rbong commented 5 years ago

The issue is that some terminals only render the main background color transparent. Vim only partially redraws on re-render. This workaround from the original issue is the best solution:

autocmd VimEnter * hi Normal ctermbg=NONE guibg=NONE

Unfortunately you will not be able to switch between light and dark mode without changing your terminal config. If you need true universal transparency, you may have some trouble finding a terminal that fixes your problem. See this alacritty issue for an example.

I'm closing this because there's nothing we can do, but feel free to continue discussion or reopen if inaccurate.