mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
Merge pull request #3813 from Shougo/remote
Fix UpdateRemotePlugins fails problem
This commit is contained in:
commit
fcf829963e
@ -168,10 +168,15 @@ function! s:UpdateRemotePlugins()
|
|||||||
let hosts = keys(s:hosts)
|
let hosts = keys(s:hosts)
|
||||||
for host in hosts
|
for host in hosts
|
||||||
if has_key(s:plugin_patterns, host)
|
if has_key(s:plugin_patterns, host)
|
||||||
let commands = commands
|
try
|
||||||
\ + ['" '.host.' plugins']
|
let commands +=
|
||||||
\ + s:RegistrationCommands(host)
|
\ ['" '.host.' plugins']
|
||||||
\ + ['', '']
|
\ + s:RegistrationCommands(host)
|
||||||
|
\ + ['', '']
|
||||||
|
catch
|
||||||
|
echomsg v:throwpoint
|
||||||
|
echomsg v:exception
|
||||||
|
endtry
|
||||||
endif
|
endif
|
||||||
endfor
|
endfor
|
||||||
call writefile(commands, s:remote_plugins_manifest)
|
call writefile(commands, s:remote_plugins_manifest)
|
||||||
@ -212,9 +217,11 @@ function! s:RequirePythonHost(host)
|
|||||||
return channel_id
|
return channel_id
|
||||||
endif
|
endif
|
||||||
catch
|
catch
|
||||||
|
echomsg v:throwpoint
|
||||||
echomsg v:exception
|
echomsg v:exception
|
||||||
endtry
|
endtry
|
||||||
throw 'Failed to load Python host. You can try to see what happened '.
|
throw 'Failed to load '. a:host.orig_name . ' host. '.
|
||||||
|
\ 'You can try to see what happened '.
|
||||||
\ 'by starting Neovim with the environment variable '.
|
\ 'by starting Neovim with the environment variable '.
|
||||||
\ '$NVIM_PYTHON_LOG_FILE set to a file and opening '.
|
\ '$NVIM_PYTHON_LOG_FILE set to a file and opening '.
|
||||||
\ 'the generated log file. Also, the host stderr will be available '.
|
\ 'the generated log file. Also, the host stderr will be available '.
|
||||||
|
Loading…
Reference in New Issue
Block a user