mirror of
https://github.com/neovim/neovim.git
synced 2025-10-19 16:21:51 +00:00
runtime: Change external plugin directory to "external-plugin"
This commit is contained in:
@@ -119,7 +119,7 @@ function! s:RegistrationCommands(host)
|
|||||||
let host_id = a:host.'-registration-clone'
|
let host_id = a:host.'-registration-clone'
|
||||||
call rpc#host#RegisterClone(host_id, a:host)
|
call rpc#host#RegisterClone(host_id, a:host)
|
||||||
let pattern = s:plugin_patterns[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
|
for path in paths
|
||||||
call rpc#host#RegisterPlugin(host_id, path, [])
|
call rpc#host#RegisterPlugin(host_id, path, [])
|
||||||
endfor
|
endfor
|
||||||
|
Reference in New Issue
Block a user