Vim YouCompleteMe configuration

后端 未结 5 1337
孤独总比滥情好
孤独总比滥情好 2021-01-31 05:01

i just installed YouCompleteMe for Vim through vundle. It works, but it shows only the words contained in the current file. I want to use it to develop c++ programs, how can i c

5条回答
  •  南笙
    南笙 (楼主)
    2021-01-31 05:21

    I have installed with pathogen. I tried the above instructions with ./install.sh --clang-complete. After this, it did not work, and I indeed had to add the path. But it was different than in another reply here, namely

    let g:ycm_global_ycm_extra_conf = '.vim/bundle/YouCompleteMe/third_party/ycmd/cpp/ycm/.ycm_extra_conf.py'
    

    so there is an extra "third_party/ycmd" in the path.

提交回复
热议问题