mirror of
https://github.com/vim-airline/vim-airline.git
synced 2026-10-14 08:38:55 +08:00
tabline: Vim9 script implementation of enable
This commit is contained in:
1 parent
0bc7ff3629
commit
bbc70019f6
1 file changed
+5
@@ -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