move script local variable current_tabcnt to top

This commit is contained in:
Christian 2020-11-18 17:06:51 +01:00 committed by Christian Brabandt
parent e59a654d17
commit 4f59fef538
No known key found for this signature in database
GPG Key ID: F3F92DA383FDDE09

View File

@ -10,6 +10,7 @@ endif
let s:ctrlspace = get(g:, 'CtrlSpaceLoaded', 0)
let s:tabws = get(g:, 'tabws_loaded', 0)
let s:current_tabcnt = -1
if !exists(":def") || (exists(":def") && get(g:, "airline_experimental", 0)==0)
@ -139,7 +140,6 @@ if !exists(":def") || (exists(":def") && get(g:, "airline_experimental", 0)==0)
call airline#highlighter#exec('airline_tabhid_right', tabhid_right)
call airline#highlighter#exec('airline_tabmod_unsel_right', tabmodu_right)
endfunction
let s:current_tabcnt = -1
function! airline#extensions#tabline#get() " {{{2
let show_buffers = get(g:, 'airline#extensions#tabline#show_buffers', 1)
let show_tabs = get(g:, 'airline#extensions#tabline#show_tabs', 1)