mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-07-23 14:04:53 +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?
|
||||
:redrawtabline
|
||||
enddef
|
||||
def airline#extensions#tabline#enable(): void # {{{2
|
||||
if &lines > 3
|
||||
let &showtabline=2
|
||||
endif
|
||||
enddef
|
||||
endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user