junegunn / goyo.vim

:tulip: Distraction-free writing in Vim
MIT License
4.49k stars 115 forks source link

Statusline Wrong Color #227

Open dylnmc opened 3 years ago

dylnmc commented 3 years ago

I was trying out the plugin using this colorscheme https://github.com/lifepillar/vim-gruvbox8

I see this

goyo_gruvbox8

It looks like the StatusLine highlight group changes, but it looks like it might mess up if the statusline has cterm=reverse gui=reverse (since I have 'tgc' enabled, it's only using the gui option, presumably). Also, note that I tested this with vim --clean, then I did :set tgc rtp+=~/.vim/plugged/vim-gruvbox8,~/.vim/plugged/goyo.vim | colo gruvbox8 | Goyo to test a clean vim with just gruvbox8 and goyo, and I experienced the same thing.

I didn't investigate further than this, but I thought you might want to know.

Not in Goyo:

:hi StatusLine
=> StatusLine     xxx term=bold,reverse cterm=reverse gui=reverse guifg=#504945 guibg=#ebdbb2

In Goyo:

:hi StatusLine
=> StatusLine     xxx term=bold,reverse cterm=reverse guifg=#282828 guibg=#282828

Cool plugin idea, and stay well. 😄