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:
parent
3a64834d16
commit
6ca0567af6
@ -8,8 +8,7 @@ scriptencoding utf-8
|
|||||||
" https://devblogs.microsoft.com/commandline/tar-and-curl-come-to-windows/).
|
" https://devblogs.microsoft.com/commandline/tar-and-curl-come-to-windows/).
|
||||||
" The following script to install vim-plug is adapted from vim-plug
|
" The following script to install vim-plug is adapted from vim-plug
|
||||||
" wiki: https://github.com/junegunn/vim-plug/wiki/tips#tips
|
" wiki: https://github.com/junegunn/vim-plug/wiki/tips#tips
|
||||||
let &runtimepath .= ',' . expand(stdpath('data'))
|
let g:vim_plug_fpath = expand(stdpath('data') . '/site/autoload/plug.vim')
|
||||||
let g:vim_plug_fpath = expand(stdpath('data') . '/autoload/plug.vim')
|
|
||||||
if (g:is_win || g:is_mac) && !filereadable(g:vim_plug_fpath)
|
if (g:is_win || g:is_mac) && !filereadable(g:vim_plug_fpath)
|
||||||
if !executable('curl')
|
if !executable('curl')
|
||||||
echoerr 'Curl not available on your system, you may install vim-plug by yourself.'
|
echoerr 'Curl not available on your system, you may install vim-plug by yourself.'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user