mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-07-24 22:45:12 +02:00
tabline: fix vim9 error in toggle_on func
This commit is contained in:
parent
3d536ef950
commit
c08b1c0c75
@ -276,7 +276,7 @@ else
|
|||||||
def s:toggle_on(): void # {{{2
|
def s:toggle_on(): void # {{{2
|
||||||
if get(g:, 'airline_statusline_ontop', 0)
|
if get(g:, 'airline_statusline_ontop', 0)
|
||||||
airline#extensions#tabline#enable()
|
airline#extensions#tabline#enable()
|
||||||
&tabline='%!airline#statusline('.winnr().')'
|
&tabline = '%!airline#statusline(' .. winnr() .. ')'
|
||||||
return
|
return
|
||||||
endif
|
endif
|
||||||
airline#extensions#tabline#autoshow#on()
|
airline#extensions#tabline#autoshow#on()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user