mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-07-24 22:45:12 +02:00
tabline: Vim9 script implementation of enable
This commit is contained in:
parent
0bc7ff3629
commit
bbc70019f6
@ -313,4 +313,9 @@ else
|
|||||||
# TODO: Is this still needed?
|
# TODO: Is this still needed?
|
||||||
:redrawtabline
|
:redrawtabline
|
||||||
enddef
|
enddef
|
||||||
|
def airline#extensions#tabline#enable(): void # {{{2
|
||||||
|
if &lines > 3
|
||||||
|
let &showtabline=2
|
||||||
|
endif
|
||||||
|
enddef
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user