Open syyyr opened 5 years ago
@syyyr : I am having the same issue, but in my case the scratch windows appear the moment I toggle airline on in Goyo and the scratch windows do not disappear. Your solution also did not work for me. Any ideas?
@SwayamShree123 I am not sure, I'm using neither Goyo nor Airline. I can understand my solution doesn't work for toggling Airline on in Goyo. I am not sure why you would even want that? AFAIK, Goyo should turn airline OFF, not ON.
Hello, I've encountered a problem with goyo and vim-airline. When I focus vim, scratch windows appear. They disappear after I try to switch to them. This only happens after I type some text in the goyo mode (that is, it doesn't happen with a goyo "window", that hasn't been written to yet).
Airline sets some sort of a FocusGained autocmd:
I have already solved this problem by inserting this into my vimrc:
this disables FocusGained in goyo mode and fixes this bug. Is this something that can be fixed with goyo? Or is this a problem with airline?