vim-Plugin youcompleteme
大家讲道理
大家讲道理 2017-05-16 16:35:20
0
4
901

Prompter FehlerValueError: Still no compile flags, no completions yet

大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

Antworte allen(4)
黄舟

你是在什么编辑器上安装vim插件?

迷茫

在vimrc里面配置下Extra conf试试。
如果你用vundle,那就是:
let g:ycm_global_ycm_extra_conf = '~/.vim/bundle/YouCompleteMe/third_party/ycmd/cpp/ycm/.ycm_extra_conf.py'

如果你用Vim-Plug,那就是:
let g:ycm_global_ycm_extra_conf = '~/.vim/plugged/YouCompleteMe/third_party/ycmd/cpp/ycm/.ycm_extra_conf.py'

黄舟

.ycm_extra_conf.py 文件放到 ~/ 目录下即可,当然 @S1ngS1ng 的方法也是可以的。

phpcn_u1582

用YCM-Generator生成.ycm_extra_conf.py文件放到你打开vim的目录或者在vimrc里面制定默认路径

Beliebte Tutorials
Mehr>
Neueste Downloads
Mehr>
Web-Effekte
Quellcode der Website
Website-Materialien
Frontend-Vorlage
Über uns Haftungsausschluss Sitemap
Chinesische PHP-Website:Online-PHP-Schulung für das Gemeinwohl,Helfen Sie PHP-Lernenden, sich schnell weiterzuentwickeln!