runtime: Refer to plugins running outside Nvim as "remote plugins"

- Rename autoload/rpc to autoload/remote
- External plugins are now remote plugins
- External plugins directory is "rplugin"
This commit is contained in:
Thiago de Arruda
2014-11-21 10:07:59 -03:00
parent 9a774e726c
commit 6b17082d3c
9 changed files with 90 additions and 90 deletions

View File

@@ -11,11 +11,11 @@ let s:loaded_python_provider = 1
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 rpc#host#RegisterClone('legacy-python-provider', 'python')
call rpc#host#RegisterPlugin('legacy-python-provider', s:plugin_path, [])
call remote#host#RegisterClone('legacy-python-provider', 'python')
call remote#host#RegisterPlugin('legacy-python-provider', s:plugin_path, [])
" Ensure that we can load the python host before bootstrapping
try
let s:host = rpc#host#Require('legacy-python-provider')
let s:host = remote#host#Require('legacy-python-provider')
catch
echomsg v:exception
finish