diff options
| author | jdhao <jdhao@hotmail.com> | 2020-09-28 10:58:34 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-28 10:58:34 +0800 |
| commit | f2dcfa74773d5fb70c0ae3d42b5e328ca206a3e8 (patch) | |
| tree | 403f7a9fa3a1d22c79646becff55a282c1c8ad2f /plugins.vim | |
| parent | 749d2a57a7b4b1349e60c62b9d486002e1d436ce (diff) | |
fix missing runtimepath issue
it seems that stdpath('data') is not in the runtimepath.
Diffstat (limited to 'plugins.vim')
| -rw-r--r-- | plugins.vim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins.vim b/plugins.vim index 8a08876..3c0aa04 100644 --- a/plugins.vim +++ b/plugins.vim @@ -8,6 +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') if (g:is_win || g:is_mac) && !filereadable(g:vim_plug_fpath) if !executable('curl') |
