morhetz / gruvbox

Retro groove color scheme for Vim
13.59k stars 1.1k forks source link

I got auto-transparent that don't expect after enable true color. #316

Closed roachsinai closed 4 years ago

roachsinai commented 4 years ago

I enabled true color by:

" https://lotabout.me/2018/true-color-for-tmux-and-vim/
if has("termguicolors")
    " fix true color not work under tmux
    let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
    let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
    " enable true color
    set termguicolors
endif

It works for true color. But each time I use vim it enable transparent by it self.

image

If I remove that setting, the transparent effect disappear:

image


Expect behavior:

It should not be transparent on true color!


This doesn't happen when I change a color scheme, such as https://github.com/sainnhe/sonokai

roachsinai commented 4 years ago

https://github.com/vim/vim/issues/5703#issuecomment-591869868

morhetz commented 4 years ago

it doesn't seem to have anything to do with the colorscheme