tabline: Vim9 script implementation of enable

This commit is contained in:
Christian 2020-11-18 16:22:04 +01:00 committed by Christian Brabandt
parent 0bc7ff3629
commit bbc70019f6
No known key found for this signature in database
GPG Key ID: F3F92DA383FDDE09

View File

@ -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