Fix cur buffer littered w/ setline aft. PlugUpdate
This commit is contained in:
parent
ddce935b16
commit
972b3e1e3d
7
plug.vim
7
plug.vim
|
@ -1338,7 +1338,12 @@ function! s:update_finish()
|
||||||
return
|
return
|
||||||
endtry
|
endtry
|
||||||
call s:finish(s:update.pull)
|
call s:finish(s:update.pull)
|
||||||
call setline(1, 'Updated. Elapsed time: ' . split(reltimestr(reltime(s:update.start)))[0] . ' sec.')
|
let s:succ_line = 'Updated. Elapsed time: ' . split(reltimestr(reltime(s:update.start)))[0] . ' sec.'
|
||||||
|
if s:nvim
|
||||||
|
call call s:warn('echo', s:succ_line)
|
||||||
|
else
|
||||||
|
call setline(1, s:succ_line)
|
||||||
|
endif
|
||||||
call s:switch_out('normal! gg')
|
call s:switch_out('normal! gg')
|
||||||
endif
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
|
Loading…
Reference in New Issue
Block a user