diff options
| author | jdhao <jdhao@hotmail.com> | 2020-09-27 20:39:02 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2020-09-27 20:39:02 +0800 |
| commit | dd8c3cd9c0418cbeffc8935cd681109314bcc285 (patch) | |
| tree | d100b9382f875b540413a461e204c875cdbc347c | |
| parent | e9c8c4c536a0fa5949ef83f79b60e7baafb0d858 (diff) | |
refactor: vim-plug install
| -rw-r--r-- | plugins.vim | 4 |
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 |
