处理函数 vundle#安装程序#new 时检测到错误



我不知道为什么这不起作用,源%工作正常,但是当我输入:P lugin安装时弹出错误 "处理函数 vundle#安装程序#new时检测到错误" 这也是"没有选择捆绑包进行操作">

syntax on

set nocompatible          
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
set noerrorbells
set tabstop=4 softtabstop=4
set shiftwidth=4
set expandtab
set smartindent
set nu
set nowrap
set smartcase
set noswapfile
set nobackup
set undodir=~/.vim/undodir
set undofile
set incsearch
set colorcolumn=80
highlight ColorColumn ctermbg=0 guibg=lightgrey
call vundle#begin()
Plugin 'gmarik/vundle'
Plugin 'morhetz/gruvbox'
plugin 'jremmen/vim-ripgrep'
Plugin 'tpope/vim-fugitive'
Plugin 'vim-utils/vim-man'
Plugin 'git@github.com:kien/ctrlp.vim.git'
Plugin 'git@github.com:Valloric/YouCompleteMe.git'
Plugin 'mbill/undotree' 
call vundle#end()
filetype plugin indent on   

您可以将以下行添加到 .vimrc 中

set shell=/bin/bash

有一个已关闭的问题描述了与您的错误类似的错误。

在安装指南中,您可以看到建议在fish shell中使用set shell=/bin/bash

  1. (可选(对于那些使用鱼壳的人:将set shell=/bin/bash添加到您的.vimrc

您可能没有使用fish外壳,但这是问题中推荐的解决方案。

最新更新