1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

change vim-plug install dir

This commit is contained in:
jdhao 2020-10-03 00:15:49 +08:00
parent 3a64834d16
commit 6ca0567af6

View File

@ -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.'