diff options
| author | jdhao <jdhao@hotmail.com> | 2020-10-03 00:15:49 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2020-10-03 00:15:49 +0800 |
| commit | 6ca0567af6992e81d851ed28c588041fc8c94758 (patch) | |
| tree | d2f4cb0204870bc93ad1c53d683dadddf708d26f | |
| parent | 3a64834d16ec17828e5783982f6be2a47e784547 (diff) | |
change vim-plug install dir
| -rw-r--r-- | plugins.vim | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins.vim b/plugins.vim index f652a60..8c96df7 100644 --- a/plugins.vim +++ b/plugins.vim @@ -8,8 +8,7 @@ scriptencoding utf-8 " https://devblogs.microsoft.com/commandline/tar-and-curl-come-to-windows/). " The following script to install vim-plug is adapted from vim-plug " wiki: https://github.com/junegunn/vim-plug/wiki/tips#tips -let &runtimepath .= ',' . expand(stdpath('data')) -let g:vim_plug_fpath = expand(stdpath('data') . '/autoload/plug.vim') +let g:vim_plug_fpath = expand(stdpath('data') . '/site/autoload/plug.vim') if (g:is_win || g:is_mac) && !filereadable(g:vim_plug_fpath) if !executable('curl') echoerr 'Curl not available on your system, you may install vim-plug by yourself.' |
