Merge aff77f648f
into 3572ffde79
This commit is contained in:
commit
0369e8ebd3
5
plug.vim
5
plug.vim
|
@ -379,8 +379,12 @@ function! s:infer_properties(name, repo)
|
||||||
if repo !~ '/'
|
if repo !~ '/'
|
||||||
let repo = 'vim-scripts/'. repo
|
let repo = 'vim-scripts/'. repo
|
||||||
endif
|
endif
|
||||||
|
if exists('g:plug_use_ssh') && g:plug_use_ssh == 1
|
||||||
|
let uri = 'git@github.com:' . repo . '.git'
|
||||||
|
else
|
||||||
let uri = 'https://git::@github.com/' . repo . '.git'
|
let uri = 'https://git::@github.com/' . repo . '.git'
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
let dir = s:dirpath( fnamemodify(join([g:plug_home, a:name], '/'), ':p') )
|
let dir = s:dirpath( fnamemodify(join([g:plug_home, a:name], '/'), ':p') )
|
||||||
return { 'dir': dir, 'uri': uri }
|
return { 'dir': dir, 'uri': uri }
|
||||||
endif
|
endif
|
||||||
|
@ -1251,4 +1255,3 @@ endif
|
||||||
|
|
||||||
let &cpo = s:cpo_save
|
let &cpo = s:cpo_save
|
||||||
unlet s:cpo_save
|
unlet s:cpo_save
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user