vim-plugins: use https for github repositories
This commit is contained in:
parent
d8a7b507d9
commit
8977b1f2ee
|
@ -254,7 +254,7 @@ let
|
||||||
let &rtp.=(empty(&rtp)?"":',').c.plugin_root_dir.'/vim-addon-manager'
|
let &rtp.=(empty(&rtp)?"":',').c.plugin_root_dir.'/vim-addon-manager'
|
||||||
if !isdirectory(c.plugin_root_dir.'/vim-addon-manager/autoload')
|
if !isdirectory(c.plugin_root_dir.'/vim-addon-manager/autoload')
|
||||||
" checkout VAM
|
" checkout VAM
|
||||||
execute '!git clone --depth=1 git://github.com/MarcWeber/vim-addon-manager '
|
execute '!git clone --depth=1 https://github.com/MarcWeber/vim-addon-manager '
|
||||||
\ shellescape(c.plugin_root_dir.'/vim-addon-manager', 1)
|
\ shellescape(c.plugin_root_dir.'/vim-addon-manager', 1)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -134,10 +134,10 @@ fun! nix#AddNixDerivation(opts, cache, name, ...) abort
|
||||||
if len(list) > 0
|
if len(list) > 0
|
||||||
if '' != list[2]
|
if '' != list[2]
|
||||||
let name = list[2]
|
let name = list[2]
|
||||||
let repository = { 'type': 'git', 'owner': list[1], 'repo': list[2], 'url': 'git://github.com/'.list[1].'/'.list[2] }
|
let repository = { 'type': 'git', 'owner': list[1], 'repo': list[2], 'url': 'https://github.com/'.list[1].'/'.list[2] }
|
||||||
else
|
else
|
||||||
let name = list[1]
|
let name = list[1]
|
||||||
let repository = { 'type': 'git', 'owner': list[1], 'repo': 'vim-addon-'.list[1], 'url': 'git://github.com/'.list[1].'/vim-addon-'.list[1] }
|
let repository = { 'type': 'git', 'owner': list[1], 'repo': 'vim-addon-'.list[1], 'url': 'https://github.com/'.list[1].'/vim-addon-'.list[1] }
|
||||||
endif
|
endif
|
||||||
else
|
else
|
||||||
let repository = get(g:vim_addon_manager.plugin_sources, a:name, {})
|
let repository = get(g:vim_addon_manager.plugin_sources, a:name, {})
|
||||||
|
|
Loading…
Reference in New Issue