diff options
Diffstat (limited to 'runtime/autoload/provider/python.vim')
-rw-r--r-- | runtime/autoload/provider/python.vim | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/autoload/provider/python.vim b/runtime/autoload/provider/python.vim index 5ce636c324..d4a509864f 100644 --- a/runtime/autoload/provider/python.vim +++ b/runtime/autoload/provider/python.vim @@ -32,6 +32,9 @@ call remote#host#RegisterClone('legacy-python-provider', 'python') call remote#host#RegisterPlugin('legacy-python-provider', s:plugin_path, []) function! provider#python#Call(method, args) + if s:err != '' + return + endif if !exists('s:host') let s:rpcrequest = function('rpcrequest') @@ -39,7 +42,10 @@ function! provider#python#Call(method, args) try let s:host = remote#host#Require('legacy-python-provider') catch + let s:err = v:exception + echohl WarningMsg echomsg v:exception + echohl None finish endtry endif |