mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
fix missing runtimepath issue
it seems that stdpath('data') is not in the runtimepath.
This commit is contained in:
parent
749d2a57a7
commit
f2dcfa7477
@ -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')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user