Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

g:gruvbox_transparent_bg has no effect #454

Open
spoutn1k opened this issue Dec 16, 2023 · 3 comments
Open

g:gruvbox_transparent_bg has no effect #454

spoutn1k opened this issue Dec 16, 2023 · 3 comments

Comments

@spoutn1k
Copy link

spoutn1k commented Dec 16, 2023

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 ?

@vtrgnc
Copy link

vtrgnc commented Jan 24, 2024

I'm having the same issue in Lua too.

@NeoSahadeo
Copy link

NeoSahadeo commented Jan 27, 2024

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

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

@vtrgnc
Copy link

vtrgnc commented Jan 27, 2024

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants