mirror of
https://github.com/neovim/neovim.git
synced 2025-12-10 00:22:41 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user