Problems with Vim omnicppcomplete working correctly

I am trying to get OmniCppcomplete to work and I am having problems. I followed the steps on this page (including things to add to the .vimrc file). I downloaded and extracted the zip file to ~ / .vim, I ran the commands it said, I did everything and it still doesn't work. I also tried uploading the modified stl to fix it __STD_NAMESPACE_BEGIN

. I ran ctags on a directory and put the tags file in ~ / .vim / tags / cpp.

Whenever I type a class name or namespace name and then .

either ::

or or whatever, I get an error Omni completion (^O^N^P) Pattern not found

. I ran tselect TestClass

to see that the tags were generated and they are there, so I don't understand what is going on.

+2


source to share


1 answer


I think I figured it out. I was placing my tags in a directory called ~ / .vim / tags / cpp /, instead of making a cpp file and putting it in the tags directory. It seems to work now.



+1


source







All Articles