gruvbox icon indicating copy to clipboard operation
gruvbox copied to clipboard

`g:gruvbox_transparent_bg` has no effect

Open spoutn1k opened this issue 2 years ago • 3 comments

I have the following configuration in my .vimrc:

set background=dark

let g:gruvbox_bold = 1
let g:gruvbox_transparent_bg = 1
let g:gruvbox_improved_warnings = 1

colorscheme gruvbox

Yet the background of vim is a solid color. (My terminal bg is transparent)

I tried:

set background=dark
hi Normal ctermbg=None

let g:gruvbox_bold = 1
let g:gruvbox_transparent_bg = 1
let g:gruvbox_improved_warnings = 1

colorscheme gruvbox

To no avail.

The only solution I have is to override the colorscheme value by placing the ctermbg directive after the colorscheme load.

Am I doing something wrong ?

spoutn1k avatar Dec 16 '23 16:12 spoutn1k

I'm having the same issue in Lua too.

vtrgnc avatar Jan 24 '24 06:01 vtrgnc

If you're using nvim then there is a more update-to-date gruvbox theme. Transparency works there.

https://github.com/ellisonleao/gruvbox.nvim

NeoSahadeo avatar Jan 27 '24 15:01 NeoSahadeo

Thanks!

vtrgnc avatar Jan 27 '24 15:01 vtrgnc