1
0
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:
jdhao 2020-09-28 10:58:34 +08:00 committed by GitHub
parent 749d2a57a7
commit f2dcfa7477
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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