mirror of
https://github.com/neovim/neovim.git
synced 2025-10-17 15:21:47 +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'
|
||||
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
|
||||
|
Reference in New Issue
Block a user