junegunn / goyo.vim

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

Black bars show up on the edges of the screen when entering Goyo #197

Open willowiscool opened 5 years ago

willowiscool commented 5 years ago

image

I get this odd glitch sometimes. It doesn't happen when I use gruvbox, but it does here with wal.vim and it also happens when I use it in tty.

pyrho commented 5 years ago

edit: I fixed it, you need to set termguicolors in your vimrc. That solved the issue for me.


Same here. Here is a minimal vimrc:

call plug#begin('~/.vim/plugged-vimr')
Plug 'junegunn/goyo.vim',                                      " Zen editor
call plug#end()
Screenshot 2019-04-15 at 15 43 46
xave commented 1 month ago

If you have set termguicolors and still have black bars, the vertical and horizontal bars are set with the highlights for StatusLine and StatusLineNC.

highlight StatusLine ...

You can troubleshoot configured highlights with :hi command. Some of those will be black.