junegunn / goyo.vim

:tulip: Distraction-free writing in Vim
MIT License
4.52k stars 118 forks source link

Can't see tab-complete suggestions for commands in Goyo #141

Open parchd-1 opened 7 years ago

parchd-1 commented 7 years ago

Using neovim 0.1.7 and rakr/vim-one, once I enter Goyo mode I can no longer see completion suggestions for commands other than the currently selected suggestion. The others are invisible.

Removing "StatusLine" from the groups in the tranquilize function solves this, but causes other visual disturbances.

lunacookies commented 5 years ago

The tranquilize function (correct me if I’m wrong) makes all the highlight groups it is given ‘invisible’, making them completely blend into the background. As the StatusLine highlight group is used to highlight all unselected matches when completing ex-commands, and you want to hide the status line, there is no way around this unfortunate limitation.

Edit: Maybe it would be possible by using set laststatus=0 to disable the status line…?

Edit 2: Never mind, I forgot the status line always shows when there are multiple horizontal splits, which Goyo uses to add padding.