You are not logged in.
I have installed the package vim-youcompleteme-git from aur.
I want to use the autocomplete mainly for c++ programming. I have placed the sample .ycm_extra_conf.py that was provided by the author of YCM in the .vim directory.
I added the following line to my .vimrc:
let g:ycm_global_ycm_extra_conf = "~/.vim/.ycm_extra_conf.py"
after that I magically expected autocomplete to work which apparently was not the case:
No suggestins appeared either when typing #inclu in a .cpp file and trying to edit a python file.
Did I miss some instalation step?
Do I need to enable the plugin in my .vimrc?
Hope you can help me,
JJK
Offline
Have you tried not using pacman for that plugin? It worked for me, you just have to carefully read the installation guide.
Offline
It's very important to read the docs very carefully and invest a bit of time in it. I used YCM for some C and C++ development and it works fine. Once you set it up, you can download a Vim plugin that is a python script that you run, give it an addr to your project Makefile, and it generates autocomplete for YCM.
Good luck, make sure to post here if you set it up. I'll also be giving it a go soon cuz I installed Arch just recently.
Cheers
Offline
Offline
I strongly recommend using vundle to install and manage/update all vim plugins.
Offline
I strongly recommend using vundle to install and manage/update all vim plugins.
I agree, but you still need to make additional steps to install YCM for Vim.
Offline