VIM YouCompleteme错误 - noextraconfdetected:否检测到的.ycm_extra_c
VIM YouCompleteMe error- NoExtraConfDetected: No .ycm_extra_conf.py file detected
我正在为C 设置YouCompleteme,但是当我打开一个.cpp文件时,我会收到错误noextraconfdetected:no .ycm_extra_conf.py filected
.vimrc文件看起来像这样:
set nocompatible " be iMproved, required filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')
" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'
Plugin 'rdnetto/YCM-Generator'
Plugin 'Valloric/YouCompleteMe'
let g:ycm_global_ycm_extra_conf = '$USER/.vim/bundle/YouCompleteMe/third_party/ycmd/cpp/ycm/.ycm_extra_conf.py'
" All of your Plugins must be added before the following line
call vundle#end() " required
filetype plugin indent on " required
我认为这条线:
let g:ycm_global_ycm_extra_conf = '$USER/.vim/bundle/YouCompleteMe/third_party/ycmd/cpp/ycm/.ycm_extra_conf.py'
会照顾错误。
我遵循路径, .ycm_extra_conf.py 在那里。
我有让G:ycm_global_ycm_extra_conf ='$ user/.vim/bundle/youcompleteme/youcompleteme/youcompletem/third_party/ycmd/cpp/ycm/.ycm/.ycm_extra_extra_extra_conf.py'''''在.vimrc文件中错误地放置了错误吗?
无法解释它,但是vimrc不喜欢$ user,您需要一个la $ home的完整路径。尝试以下操作:
让G:ycm_global_ycm_extra_conf ='/home/your_user/.vim/bundle/youcompleteme/youcompleteme/third_party/ycmd/ycmd/ycpp/ycp/ycm/.ycm_extra_extra_extra_conf.py'
相关文章:
- 使用CMake检测支持的C++标准
- 当套接字连接断开时检测C/C++Unix
- C/C++预处理器是否可以检测一些编译器选项
- WMI检测进程创建事件-c++
- 基于树莓pi的tensorflow lite量化ssd目标检测
- 下面是我为检测链接列表中的循环而制作的代码
- 落砂模拟碰撞检测C++和SFML
- 我可以检测和更改 gcc/g++ 中结构的当前数据对齐设置吗?
- 为什么C++编译器没有检测到正确声明的类?
- 检测win32服务创建和删除的最佳方法
- 正在LLVM中检测整数比较条件
- 如何在鼠标挂钩过程中检测拖动
- 位移操作和位掩码未检测到重复字符
- 检测 COFF 对象文件中C++内联符号
- qmake:检测目标位宽(32 位或 64 位)
- 增强精神解析器规则以检测语句中的特殊结尾
- 用于C++的静态二进制检测或二进制重写工具和框架
- Tensorflow对象检测在Python和C++(OpenCV)之间有不同的结果
- C++中的张量流对象检测
- 如何在OpenCV中检测这是谁的脸?