junegunn / goyo.vim

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

Airline pops up on BufWritePost event. #228

Open hwijeen opened 3 years ago

hwijeen commented 3 years ago

Hi, Screen Shot 2020-07-14 at 10 53 24 PM thank you for the great plugin. One little thing that gets on my nerve is that airline plugin pops up whenever I :w in goyo. To inspect why this is happening, I looked at au BufWritePost and found the following line.

airline_whitespace  BufWritePost
    *         call <sid>ws_refresh()

I guess airline refreshes when I save a file, and it toggles the airline back on my screen. (The airline disappears when I type ctrl-w-k - I can't figure out why!)

Is there a recommended way to suppress this behavior?

mvpopuk commented 8 months ago

I have the same problem with Lualine.