简体   繁体   English

处理 vimrc 时检测到错误:-如何在 vim 中获取 pugins

[英]Error detected while processing vimrc: - how to take pugins in vim

Today I was making my custom vimrc, but it gives me this error.今天我正在制作我的自定义 vimrc,但它给了我这个错误。 It is not allowing me to use any plugins.它不允许我使用任何插件。 Can somebody help by telling what I am doing wrong?有人可以告诉我我做错了什么吗? These lines are the error that it is showing:这些行是它显示的错误:

E117: Unknown function: plug#begin
line   10:
E492: Not an editor command: Plug 'rbgrouleff/bclose.vim'
line   11:
E492: Not an editor command: Plug 'dbakker/vim-projectroot'
line   12:
E492: Not an editor command: Plug 'scrooloose/nerdtree'
line   13:
E492: Not an editor command: Plug 'junegunn/fzf'
line   14:
E492: Not an editor command: Plug 'junegunn/fzf.vim'
line   15:
E492: Not an editor command: Plug 'majutsushi/tagbar'
line   18:
E492: Not an editor command: Plug 'vim-airline/vim-airline'
line   19:
E492: Not an editor command: Plug 'vim-airline/vim-airline-themes'
line   20:
E492: Not an editor command: Plug 'bling/vim-bufferline'
line   21:
E492: Not an editor command: Plug 'altercation/vim-colors-solarized'
line   24:
E492: Not an editor command: Plug 'Raimondi/delimitMate'
line   25:
E492: Not an editor command: Plug 'scrooloose/nerdcommenter'
line   26:
E492: Not an editor command: Plug 'tpope/vim-sleuth'
line   27:
E492: Not an editor command: Plug 'Valloric/YouCompleteMe', { 'do': './install.py --clangd-completer --go-completer --rust-completer --ts-completer' }
line   28:
E492: Not an editor command: Plug 'rdnetto/ycm-generator', { 'branch': 'stable' }
line   58:
E117: Unknown function: plug#end
line   97:
E216: No such group or event: TermOpen * set bufhidden=hide

You need to install vim-plug, you can find instructions on how to do that here: https://github.com/junegunn/vim-plug#installation您需要安装 vim-plug,您可以在此处找到有关如何执行此操作的说明: https://github.com/junegunn/vim-plug#installation

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM