Heim > Fragen und Antworten > Hauptteil
Prompter FehlerValueError: Still no compile flags, no completions yet
迷茫2017-05-16 16:37:20
在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'
phpcn_u15822017-05-16 16:37:20
用YCM-Generator生成.ycm_extra_conf.py文件放到你打开vim的目录或者在vimrc里面制定默认路径