mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
Use fastgit for cloning vim plugin repos
This commit is contained in:
parent
92d3609d81
commit
10a8ce1006
@ -4,6 +4,11 @@ scriptencoding utf-8
|
|||||||
" The root directory to install all plugins.
|
" The root directory to install all plugins.
|
||||||
let g:plug_home=expand(stdpath('data') . '/plugged')
|
let g:plug_home=expand(stdpath('data') . '/plugged')
|
||||||
|
|
||||||
|
" Use fastgit for clone on Linux systems.
|
||||||
|
if g:is_linux
|
||||||
|
let g:plug_url_format = 'https://hub.fastgit.org/%s.git'
|
||||||
|
endif
|
||||||
|
|
||||||
if empty(readdir(g:plug_home))
|
if empty(readdir(g:plug_home))
|
||||||
augroup plug_init
|
augroup plug_init
|
||||||
autocmd!
|
autocmd!
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user