diff options
author | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2015-12-10 00:09:55 +0900 |
---|---|---|
committer | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2015-12-10 00:09:55 +0900 |
commit | f338fee4821a475b1ae4712b2552c2f7eca81f27 (patch) | |
tree | 0ae7723256a3055ce9e0d837b986ab3708cda6ea | |
parent | f40c8c4c23a36147ea39463bea421c5943eea937 (diff) | |
download | rneovim-f338fee4821a475b1ae4712b2552c2f7eca81f27.tar.gz rneovim-f338fee4821a475b1ae4712b2552c2f7eca81f27.tar.bz2 rneovim-f338fee4821a475b1ae4712b2552c2f7eca81f27.zip |
Fix UpdateRemotePlugins fails problem
-rw-r--r-- | runtime/autoload/remote/host.vim | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/runtime/autoload/remote/host.vim b/runtime/autoload/remote/host.vim index afbf136861..d04dea180c 100644 --- a/runtime/autoload/remote/host.vim +++ b/runtime/autoload/remote/host.vim @@ -168,10 +168,15 @@ function! s:UpdateRemotePlugins() let hosts = keys(s:hosts) for host in hosts if has_key(s:plugin_patterns, host) - let commands = commands - \ + ['" '.host.' plugins'] - \ + s:RegistrationCommands(host) - \ + ['', ''] + try + let commands += + \ ['" '.host.' plugins'] + \ + s:RegistrationCommands(host) + \ + ['', ''] + catch + echomsg v:throwpoint + echomsg v:exception + endtry endif endfor call writefile(commands, s:remote_plugins_manifest) @@ -212,9 +217,11 @@ function! s:RequirePythonHost(host) return channel_id endif catch + echomsg v:throwpoint echomsg v:exception 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 '. \ '$NVIM_PYTHON_LOG_FILE set to a file and opening '. \ 'the generated log file. Also, the host stderr will be available '. |