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
You need to navigate to ~/.vim/bundles/YouCompleteMe
and run the installation script with --clang-completer
, so do ./install.sh --clang-completer
. After it finishes you should have support for C like languages.
You may also need to place let g:ycm_global_ycm_extra_conf = '~/.vim/bundle/YouCompleteMe/cpp/ycm/.ycm_extra_conf.py'
in your ~/.vimrc
.