tabline: check existence of "e" flag in guioptions

This commit is contained in:
Christian 2020-11-18 15:23:34 +01:00 committed by Christian Brabandt
parent 5062eeeaed
commit e81d400b09
No known key found for this signature in database
GPG Key ID: F3F92DA383FDDE09

View File

@ -16,7 +16,7 @@ if !exists(":def") || (exists(":def") && get(g:, "airline_experimental", 0)==0)
" Legacy VimScript implementation " {{{1
function! airline#extensions#tabline#init(ext) " {{{2
if has('gui_running')
if has('gui_running') && match(&guioptions, 'e') > -1
set guioptions-=e
endif