mirror of
https://github.com/vim-airline/vim-airline.git
synced 2026-08-12 10:52:35 +08:00
tabline: Vim9 script implementation of enable
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user