python: move script_host.py to python-client

This commit is contained in:
Björn Linse
2016-03-06 14:37:53 +01:00
parent e7a9c006e1
commit 89bb5a8ab8
3 changed files with 2 additions and 253 deletions

View File

@@ -24,12 +24,10 @@ if s:prog == ''
finish
endif
let s:plugin_path = expand('<sfile>:p:h').'/script_host.py'
" The Python provider plugin will run in a separate instance of the Python
" host.
call remote#host#RegisterClone('legacy-python-provider', 'python')
call remote#host#RegisterPlugin('legacy-python-provider', s:plugin_path, [])
call remote#host#RegisterPlugin('legacy-python-provider', 'script_host.py', [])
function! provider#python#Call(method, args)
if s:err != ''