junegunn / vim-plug

:hibiscus: Minimalist Vim Plugin Manager
https://junegunn.github.io/vim-plug/
MIT License
33.89k stars 1.9k forks source link

执行PlugInstall时,报错:列表索引超出范围:2 #1221

Closed xooch95 closed 6 months ago

xooch95 commented 1 year ago

Explain the problem here ...

image image


let s:is_win = has('win32')
let $v = $HOME.(s:is_win ? '\vimfiles' : '/.vim')

" Plug
let s:bundle_dir = $v.'/bundle'
call plug#begin(s:bundle_dir)
    Plug 'junegunn/vim-plug'
    Plug 'yianwillis/vimcdoc'
call plug#end()

image

git version: git version 2.36.1.windows.1 cpu: x86_64 built from commit: e2ff68a2d1426758c78d023f863bfa1e03cbc768 sizeof-long: 4 sizeof-size_t: 8 shell-path: /bin/sh feature: fsmonitor--daemon

Arnie97 commented 1 year ago

What do you get when you run :!git version in GVim?