goyo.vim icon indicating copy to clipboard operation
goyo.vim copied to clipboard

:Goyo! removes background transparency

Open strogiyotec opened this issue 4 years ago • 1 comments

Good day. I'm using Goyo the latest version. When I run :Goyo command, it works as expected here is the screenshot image However, when I run :Goyo! to turn it off , it removes transparency from vim. image I use gruvbox with this option hi Normal guibg=NONE ctermbg=NONE in order to add transparent backfround ,seems like Goyo override this option . This is my vimconfig but i don't think that problem is here. How can I fix it ? Thank you

strogiyotec avatar Jun 18 '20 16:06 strogiyotec

For now I added this hook to my vim config. Is it supposed to work in this way ?

function! s:goyo_leave()
         hi Normal guibg=NONE ctermbg=NONE
endfunction
autocmd! User GoyoLeave nested call <SID>goyo_leave()

strogiyotec avatar Jun 18 '20 21:06 strogiyotec