runtime: Change external plugin directory to "external-plugin"

This commit is contained in:
Thiago de Arruda
2014-11-20 08:46:23 -03:00
parent 32ec851270
commit 58ba2241e9

View File

@@ -119,7 +119,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