1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-02 23:00:04 +08:00

Fix: vim do not support nvim_create_buf

This commit is contained in:
Shidong Wang 2020-07-04 12:42:52 +08:00
parent 0598b86e4a
commit f579d158f7

View File

@ -808,6 +808,9 @@ endfunction
" }}}
function! s:update_statusline() abort
if !exists('*nvim_open_win')
return
endif
call s:SL.open_float([
\ ['FlyGrep ', 'SpaceVim_statusline_a_bold'],
\ [' ', 'SpaceVim_statusline_a_SpaceVim_statusline_b'],
@ -821,6 +824,7 @@ function! s:update_statusline() abort
\ ])
endfunction
function! s:close_statusline() abort
call s:SL.close_float()
endfunction