junegunn / goyo.vim

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

Restoring the "normal" Tabline as generated by Vim-Airline #190

Open llinfeng opened 5 years ago

llinfeng commented 5 years ago

The following settings did not restore the "normal/proper" tabline as generated through vim-airline. Please suggest a proper setting to restore the hidden tabline? My attempt gave me two "buffers" of identical name, and does not display all opening buffers in "the normal tabline".

I read from the readme that vim-airline, among other plugins, has been disabled. Is there an option to restore the (full) functionality of plugins that have been disabled?

function! s:goyo_enter()
    setlocal showtabline=2
endfunction
autocmd! User GoyoEnter nested call <SID>goyo_enter()
junegunn commented 5 years ago

I don't use airline, and I don't know about its internals. If Goyo is not restoring the original state on exit, it might be a bug. Pull request is welcome.