xiyaowong / transparent.nvim

Remove all background colors to make nvim transparent
806 stars 23 forks source link

Question: background turns into black, instead of transparent #45

Closed ZichengWangdrzz closed 1 year ago

ZichengWangdrzz commented 1 year ago

Hi, I used packer to install the plugin and copy the basic config fot this in transparent.lua. But when I do :TransparentEnable, the background turns into black, instead of transparent. Btw, I am using the colorcheme rose-pine. How do I reslove the issue?

xiyaowong commented 1 year ago

Your terminal needs to support transparency.

RAprogramm commented 1 year ago

for example, if add 'NormalFloat' to extra_groups - which_key will have black background instead transparent

RAprogramm commented 1 year ago

https://github.com/MunifTanjim/nui.nvim/issues/291

xiyaowong commented 1 year ago

@RAprogramm For floating window, you should set option winblend. It is not recommended to set the floating window to be transparent, it will become very weird, and everything will be mixed together.

xiyaowong commented 1 year ago

Close this issue for now, you can reopen anytime if you still having this problem, and I will deal it in time