栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 系统运维 > 运维 > Linux

【CentOS】vimplus 解决插件错误

Linux 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

【CentOS】vimplus 解决插件错误

安装

参考:https://blog.csdn.net/qq_34258344/article/details/115534008

网络问题无法下载,如果是阿里云可以考虑:
su root
 
vi /etc/hosts
 
# github
204.232.175.78 http://documentcloud.github.com
207.97.227.239 http://github.com
204.232.175.94 http://gist.github.com
107.21.116.220 http://help.github.com
207.97.227.252 http://nodeload.github.com
199.27.76.130 http://raw.github.com
107.22.3.110 http://status.github.com
204.232.175.78 http://training.github.com
207.97.227.243 http://www.github.com

或者用gitee来下载

Unknown function: textobj#user#plugin

vim-textobj-user 是一个 Vim 插件,可以轻松创建自己的文本对象。创建文本对象很困难,因为有很多陷阱需要处理。这个插件隐藏了这些细节,并提供了一种定义文本对象的声明方式。您可以使用正则表达式来定义简单的文本对象,或者使用函数来定义复杂的对象。

出现这个错误的原因是安装的时候没有找到这个插件:
fatal: unable to access 'https://git::@github.com/sgur/vim-textobj-parameter

我是直接关闭这个插件

vim ~/.vimrc

加上"注释掉154-157行

之后再使用vim就不会报这个错误了。

The ycmd server SHUT DOWN (restart with ‘:YcmRestartServer’).

YCM core library not detected; you need to compile YCM beforeusing it. Follow the instructions in the documentation.
Press ENTER or type command to continue

cd ~/.vim/bundle/YouCompleteMe
./install.sh

安装完之后不在显示这个错误。

YouCompleteMe是史上最强大的基于语义的自动补全插件,支持C/C++、C#、Python、PHP等语言

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/599714.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号