aboutsummaryrefslogtreecommitdiff
path: root/runtime/plugin
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2014-11-17 10:46:13 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-11-18 12:43:30 -0300
commit4af5cfb51738b6740c03bd43672057202034d2f3 (patch)
tree304ad1c6d2d0962208d820913447b8117e5e242d /runtime/plugin
parent1133e444bc4ed7cc4c60835c7d9c67caaeb299c3 (diff)
downloadrneovim-4af5cfb51738b6740c03bd43672057202034d2f3.tar.gz
rneovim-4af5cfb51738b6740c03bd43672057202034d2f3.tar.bz2
rneovim-4af5cfb51738b6740c03bd43672057202034d2f3.zip
runtime: Add vimscript support for external plugins
External plugins(a.k.a msgpack-rpc plugins) are now supported through a library of vimscript functions that deals with: - Associating plugin host names(eg: python, ruby, go) with channel ids - Registration of external plugins - Definition of commands, autocmds and functions lazily implemented over msgpack-rpc
Diffstat (limited to 'runtime/plugin')
-rw-r--r--runtime/plugin/external_plugins.vim5
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/plugin/external_plugins.vim b/runtime/plugin/external_plugins.vim
new file mode 100644
index 0000000000..1c5fa1ab8e
--- /dev/null
+++ b/runtime/plugin/external_plugins.vim
@@ -0,0 +1,5 @@
+if exists('loaded_external_plugins') || &cp
+ finish
+endif
+let loaded_external_plugins = 1
+call rpc#host#LoadExternalPlugins()