From f2dcfa74773d5fb70c0ae3d42b5e328ca206a3e8 Mon Sep 17 00:00:00 2001 From: jdhao Date: Mon, 28 Sep 2020 10:58:34 +0800 Subject: [PATCH] fix missing runtimepath issue it seems that stdpath('data') is not in the runtimepath. --- plugins.vim | 1 + 1 file changed, 1 insertion(+) 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')