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

Transparency issues #17

Open
ofsaleem opened this issue Jul 1, 2021 · 5 comments
Open

Transparency issues #17

ofsaleem opened this issue Jul 1, 2021 · 5 comments

Comments

@ofsaleem
Copy link

ofsaleem commented Jul 1, 2021

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!

@ishan9299
Copy link
Owner

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?

@ofsaleem
Copy link
Author

ofsaleem commented Jul 2, 2021

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.

@ishan9299
Copy link
Owner

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

@ishan9299
Copy link
Owner

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?

@ofsaleem
Copy link
Author

ofsaleem commented Jul 6, 2021

: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

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

2 participants