Add :VimspectorUpdate
This commit is contained in:
parent
8275d2fafb
commit
4144631d03
4 changed files with 33 additions and 0 deletions
|
|
@ -256,6 +256,17 @@ function! vimspector#CompleteInstall( ArgLead, CmdLine, CursorPos ) abort
|
|||
\ . ')' )
|
||||
endfunction
|
||||
|
||||
function! vimspector#Update() abort
|
||||
if !s:enabled
|
||||
return
|
||||
endif
|
||||
|
||||
let prefix = vimspector#internal#state#GetAPIPrefix()
|
||||
py3 __import__( 'vimspector',
|
||||
\ fromlist = [ 'installer' ] ).installer.RunUpdate(
|
||||
\ vim.eval( 'prefix' ) )
|
||||
endfunction
|
||||
|
||||
" Boilerplate {{{
|
||||
let &cpoptions=s:save_cpo
|
||||
unlet s:save_cpo
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue