From 6ca0567af6992e81d851ed28c588041fc8c94758 Mon Sep 17 00:00:00 2001 From: jdhao Date: Sat, 3 Oct 2020 00:15:49 +0800 Subject: [PATCH] change vim-plug install dir --- plugins.vim | 3 +-- 1 file changed, 1 insertion(+), 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.'