mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-09 10:30: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
|
function! s:update_statusline() abort
|
||||||
|
if !exists('*nvim_open_win')
|
||||||
|
return
|
||||||
|
endif
|
||||||
call s:SL.open_float([
|
call s:SL.open_float([
|
||||||
\ ['FlyGrep ', 'SpaceVim_statusline_a_bold'],
|
\ ['FlyGrep ', 'SpaceVim_statusline_a_bold'],
|
||||||
\ [' ', 'SpaceVim_statusline_a_SpaceVim_statusline_b'],
|
\ [' ', 'SpaceVim_statusline_a_SpaceVim_statusline_b'],
|
||||||
@ -821,6 +824,7 @@ function! s:update_statusline() abort
|
|||||||
\ ])
|
\ ])
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
|
||||||
function! s:close_statusline() abort
|
function! s:close_statusline() abort
|
||||||
call s:SL.close_float()
|
call s:SL.close_float()
|
||||||
endfunction
|
endfunction
|
||||||
|
Loading…
Reference in New Issue
Block a user