mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-07-21 13:04:54 +02:00
tabline: only remove 'e' flag from guioptions, if it is present
This commit is contained in:
parent
390b243cf3
commit
c0c6b0e216
@ -1,5 +1,5 @@
|
|||||||
" MIT License. Copyright (c) 2013-2021 Bailey Ling et al.
|
" MIT License. Copyright (c) 2013-2021 Bailey Ling et al.
|
||||||
" vim: et ts=2 sts=2 sw=2
|
" vim: et ts=2 sts=2 sw=2 et
|
||||||
|
|
||||||
scriptencoding utf-8
|
scriptencoding utf-8
|
||||||
|
|
||||||
@ -12,7 +12,7 @@ let s:ctrlspace = get(g:, 'CtrlSpaceLoaded', 0)
|
|||||||
let s:tabws = get(g:, 'tabws_loaded', 0)
|
let s:tabws = get(g:, 'tabws_loaded', 0)
|
||||||
|
|
||||||
function! airline#extensions#tabline#init(ext)
|
function! airline#extensions#tabline#init(ext)
|
||||||
if has('gui_running')
|
if has('gui_running') && match(&guioptions, 'e') > -1
|
||||||
set guioptions-=e
|
set guioptions-=e
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user