nvim-solarized-lua icon indicating copy to clipboard operation
nvim-solarized-lua copied to clipboard

Transparency issues

Open ofsaleem opened this issue 3 years ago • 5 comments

sometimes whitespace and certain text backgrounds don't properly become transparent

working correctly:

image

not correctly: image

(im using my pager because the init.vim for it is very small, my main nvim config doesnt have vim-solarized8 installed so there's no chance its a plugin conflict, im just using it to illustrate how it should look wrt transparency)

thanks!

ofsaleem avatar Jul 01 '21 20:07 ofsaleem

nnoremap <f10> :call <SID>SynStack()<CR>
function! <SID>SynStack()
	if !exists("*synstack")
		return
	endif
	echo map(synstack(line('.'), col('.')), 'synIDattr(v:val, "name")')
endfunc

I am unable to replicate this. Can you use the above snippet? just take the cursor over the area which isn't highlighted properly and press f10. It will show you the highlight groups. Also do you have let g:solarized_termtrans=1 in your config?

ishan9299 avatar Jul 02 '21 16:07 ishan9299

over a space it shows ['vimSet'] and over one of the words (like =dark) it shows ['vimSet', 'vimSetEqual']

i added let g:solarized_termtrans=1 to the config and it didn't change anything. also i am manually typing hi Normal guibg=NONE into the editor to have the transparency work in the first place in the pager for this test.

ofsaleem avatar Jul 02 '21 16:07 ofsaleem

can you check the output for the command for hi vimSet and hi vimSetEqual? It should have guibg=none in it.

ishan9299 avatar Jul 02 '21 16:07 ishan9299

editor to have the transparency work in the first place in the pager for this test. I don't understand this part can you elaborate?

ishan9299 avatar Jul 02 '21 16:07 ishan9299

:hi vimSet
vimSet         xxx ctermfg=134 ctermbg=7 guifg=#839496 guibg=#002b36 guisp=nil
:hi vimSetEqual
vimSetEqual    xxx ctermfg=134 ctermbg=7 guifg=#839496 guibg=#002b36 guisp=nil

so doesnt look likeguibg is being set to none for those hl groups. as for your second comment there what i mean is even with let g:solarized_termtrans=1 being set, it's not actually turning transparent unless i manually enter hi Normal guibg=NONE

ofsaleem avatar Jul 06 '21 17:07 ofsaleem