mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-09 10:40:04 +08:00
fix(tabline): focus redraw tabline when clear buffers
ref: https://github.com/neovim/neovim/issues/23989
This commit is contained in:
parent
4cd290b71e
commit
4eb8490ffc
@ -337,6 +337,12 @@ function! SpaceVim#mapping#clear_saved_buffers() abort
|
|||||||
\ 'do' : 'noautocmd bd %d'
|
\ 'do' : 'noautocmd bd %d'
|
||||||
\ }
|
\ }
|
||||||
\ )
|
\ )
|
||||||
|
" after update to neovim 0.9.1 the tabline does not redraw when clear
|
||||||
|
" buffers.
|
||||||
|
" https://github.com/neovim/neovim/issues/23989
|
||||||
|
if exists(':redrawtabline') == 2
|
||||||
|
redrawtabline
|
||||||
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! SpaceVim#mapping#format() abort
|
function! SpaceVim#mapping#format() abort
|
||||||
|
Loading…
Reference in New Issue
Block a user