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:
parent
0598b86e4a
commit
f579d158f7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user