nvim-solarized-lua
nvim-solarized-lua copied to clipboard
Transparency issues
sometimes whitespace and certain text backgrounds don't properly become transparent
working correctly:
not correctly:
(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!
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?
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.
can you check the output for the command for hi vimSet
and hi vimSetEqual
? It should have guibg=none in it.
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?
: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