vim9: finish early for legacy Vims

fixes #2382
This commit is contained in:
Christian Brabandt
2021-05-08 09:18:51 +02:00
parent 19360bac63
commit 7e295c859f
3 changed files with 3 additions and 3 deletions

View File

@@ -265,10 +265,8 @@ if !exists(":def") || (exists(":def") && get(g:, "airline_experimental", 0) == 0
endif
return group
endfunction
finish
else
" Vim9 Script implementation
def s:toggle_off(): void
airline#extensions#tabline#autoshow#off()
airline#extensions#tabline#tabs#off()