vim-code-dark icon indicating copy to clipboard operation
vim-code-dark copied to clipboard

[ADD TO README] Plugin rendering parts of the buffer opaque when using vim-transparent

Open ayushsherpa111 opened this issue 5 years ago • 6 comments

image Areas of the buffer where there is no text happen to not be transparent and this is rather unsettling as i quite like this theme. i hope this issue gets resolved.

ayushsherpa111 avatar Nov 09 '20 16:11 ayushsherpa111

can confirm that the problem is not with the terminal. tried it on Alacritty and got the same issue.

ayushsherpa111 avatar Nov 09 '20 16:11 ayushsherpa111

Hello, could you try the following from #44?

highlight Normal ctermbg=NONE
highlight nonText ctermbg=NONE
highlight EndOfBuffer ctermbg=NONE

tomasiser avatar Nov 09 '20 21:11 tomasiser

that didnt seem to work sadly

ayushsherpa111 avatar Nov 10 '20 05:11 ayushsherpa111

I have to admit I have no idea why the normal background is transparent, but below the text, it is not. In the color scheme, they should both have the same background value.

You could also try the following. Make sure to put it after you set the colorscheme to codedark.

colorscheme codedark
highlight Normal guibg=NONE ctermbg=NONE
highlight nonText guibg=NONE ctermbg=NONE
highlight EndOfBuffer guibg=NONE ctermbg=NONE

If that does not work, I have no idea how to help. Maybe someone else can help.

tomasiser avatar Nov 10 '20 11:11 tomasiser

thank you that worked :)

ayushsherpa111 avatar Nov 10 '20 12:11 ayushsherpa111

Wonderful! I will add it to the readme. :) Thanks for the report!

tomasiser avatar Nov 10 '20 15:11 tomasiser

@tomasiser I think this can be closed since #102.

saccarosium avatar Apr 14 '23 10:04 saccarosium

Thank you!

tomasiser avatar Apr 25 '23 21:04 tomasiser