mirror of
https://github.com/junegunn/vim-plug.git
synced 2025-12-25 01:51:07 +08:00
Deprecate implicit vim-scripts expansion
vim-scripts.org is no longer maintained. Close #625
This commit is contained in:
2
plug.vim
2
plug.vim
@@ -579,7 +579,7 @@ function! s:infer_properties(name, repo)
|
||||
let uri = repo
|
||||
else
|
||||
if repo !~ '/'
|
||||
let repo = 'vim-scripts/'. repo
|
||||
throw printf('Invalid argument: %s (implicit `vim-scripts'' expansion is deprecated)', repo)
|
||||
endif
|
||||
let fmt = get(g:, 'plug_url_format', 'https://git::@github.com/%s.git')
|
||||
let uri = printf(fmt, repo)
|
||||
|
||||
Reference in New Issue
Block a user