junegunn / goyo.vim

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

Break colorscheme when toggle Goyo #162

Closed ghost closed 6 years ago

ghost commented 6 years ago

When I switch to Goyo while limelight is being enabled, colors highlight correct, but if I toggle to turn off Goyo (:Goyo in vim), colorschem's broken. I have to reload .vimrc to get back colorscheme. This mean Goyo call limelight after turn off but doesn't touch colorcheme. I'm using material-theme.

Any thoughts?

ghost commented 6 years ago

Even limelight is not enabled, toggle Goyo will break colorscheme anyway.

junegunn commented 6 years ago

Related issues can be found here:

https://github.com/junegunn/goyo.vim/search?q=autocmd+colorscheme&type=Issues&utf8=%E2%9C%93