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

Prompt errorValueError: Still no compile flags, no completions yet

大家讲道理
大家讲道理

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

reply all(4)
黄舟

What editor did you install the vim plug-in on?

迷茫

Try configuring Extra conf in vimrc.
If you use vundle, that is:
let g:ycm_global_ycm_extra_conf = '~/.vim/bundle/YouCompleteMe/third_party/ycmd/cpp/ycm/.ycm_extra_conf.py'

If you use Vim-Plug, this is:
let g:ycm_global_ycm_extra_conf = '~/.vim/plugged/YouCompleteMe/third_party/ycmd/cpp/ycm/.ycm_extra_conf.py'

黄舟

Just put .ycm_extra_conf.py 文件放到 ~/ in the directory. Of course, @S1ngS1ng’s method is also possible.

phpcn_u1582

Use YCM-Generator to generate the .ycm_extra_conf.py file and put it in the directory where you open vim or set the default path in vimrc

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template