aboutsummaryrefslogtreecommitdiff
path: root/plugins.vim
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2020-09-27 20:39:02 +0800
committerjdhao <jdhao@hotmail.com>2020-09-27 20:39:02 +0800
commitdd8c3cd9c0418cbeffc8935cd681109314bcc285 (patch)
treed100b9382f875b540413a461e204c875cdbc347c /plugins.vim
parente9c8c4c536a0fa5949ef83f79b60e7baafb0d858 (diff)
refactor: vim-plug install
Diffstat (limited to 'plugins.vim')
-rw-r--r--plugins.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins.vim b/plugins.vim
index e237122..f15a626 100644
--- a/plugins.vim
+++ b/plugins.vim
@@ -15,8 +15,8 @@ if (g:is_win || g:is_mac) && !filereadable(g:vim_plug_fpath)
finish
endif
echomsg 'Installing Vim-plug on your system'
- let s:vim_plug_furl = 'https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
- silent execute printf('!curl -fLo %s --create-dirs %s', g:vim_plug_fpath, s:vim_plug_furl)
+ let g:vim_plug_furl = 'https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
+ silent execute printf('!curl -fLo %s --create-dirs %s', g:vim_plug_fpath, g:vim_plug_furl)
augroup plug_init
autocmd!
autocmd VimEnter * PlugInstall --sync | quit |source $MYVIMRC