diff options
author | Thiago de Arruda <tpadilha84@gmail.com> | 2014-11-20 16:45:44 -0300 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-11-20 16:45:44 -0300 |
commit | 2f02f6c53571869e07d175b518d7222093dbb31a (patch) | |
tree | 36e40792fc7e3b66efba716f88a1550600cdd143 /runtime/autoload | |
parent | 32ec851270ff93d3453450cba54162841f519283 (diff) | |
parent | 35017bd9548bcf33da0bfee2a7cb62ebefe57bcf (diff) | |
download | rneovim-2f02f6c53571869e07d175b518d7222093dbb31a.tar.gz rneovim-2f02f6c53571869e07d175b518d7222093dbb31a.tar.bz2 rneovim-2f02f6c53571869e07d175b518d7222093dbb31a.zip |
Merge PR #1504 'Change external plugin dir, manifest and improve docs'
Diffstat (limited to 'runtime/autoload')
-rw-r--r-- | runtime/autoload/rpc/host.vim | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/runtime/autoload/rpc/host.vim b/runtime/autoload/rpc/host.vim index 177d816df0..9294dd92a8 100644 --- a/runtime/autoload/rpc/host.vim +++ b/runtime/autoload/rpc/host.vim @@ -2,7 +2,8 @@ let s:hosts = {} let s:plugin_patterns = { \ 'python': '*.py' \ } -let s:external_plugins = fnamemodify($MYVIMRC, ':p:h').'/.external_plugins~' +let s:external_plugins = fnamemodify($MYVIMRC, ':p:h') + \.'/.'.fnamemodify($MYVIMRC, ':t').'-external-plugins~' " Register a host by associating it with a factory(funcref) @@ -119,7 +120,7 @@ function! s:RegistrationCommands(host) let host_id = a:host.'-registration-clone' call rpc#host#RegisterClone(host_id, a:host) let pattern = s:plugin_patterns[a:host] - let paths = globpath(&rtp, 'plugin/external/'.a:host.'/'.pattern, 0, 1) + let paths = globpath(&rtp, 'external-plugin/'.a:host.'/'.pattern, 0, 1) for path in paths call rpc#host#RegisterPlugin(host_id, path, []) endfor |