skip toggling ctrlspace tabline plugin
This commit is contained in:
parent
27acd851a7
commit
7bf1d9b1fb
@ -31,14 +31,18 @@ function! s:toggle_off()
|
|||||||
call airline#extensions#tabline#autoshow#off()
|
call airline#extensions#tabline#autoshow#off()
|
||||||
call airline#extensions#tabline#tabs#off()
|
call airline#extensions#tabline#tabs#off()
|
||||||
call airline#extensions#tabline#buffers#off()
|
call airline#extensions#tabline#buffers#off()
|
||||||
|
if s:ctrlspace
|
||||||
call airline#extensions#tabline#ctrlspace#off()
|
call airline#extensions#tabline#ctrlspace#off()
|
||||||
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! s:toggle_on()
|
function! s:toggle_on()
|
||||||
call airline#extensions#tabline#autoshow#on()
|
call airline#extensions#tabline#autoshow#on()
|
||||||
call airline#extensions#tabline#tabs#on()
|
call airline#extensions#tabline#tabs#on()
|
||||||
call airline#extensions#tabline#buffers#on()
|
call airline#extensions#tabline#buffers#on()
|
||||||
|
if s:ctrlspace
|
||||||
call airline#extensions#tabline#ctrlspace#on()
|
call airline#extensions#tabline#ctrlspace#on()
|
||||||
|
endif
|
||||||
|
|
||||||
set tabline=%!airline#extensions#tabline#get()
|
set tabline=%!airline#extensions#tabline#get()
|
||||||
endfunction
|
endfunction
|
||||||
|
Loading…
Reference in New Issue
Block a user