Hi,

I installed vim-omnicppcomplete via pacman (am on arch linux).
The version is: 0.4.1
I followed this guide:

http://vim.wikia.com/wiki/C%2B%2B_code_completion

for makeing the std ctags and configuring my .vimrc (here it is:)

set tags+=~/.vim/tags/cpp
" build tags of your own project with CTRL+F12
map <C-F12> :!ctags -R --c++-kinds=+p --fields=+iaS --extra=+q .<CR>

" OmniCppComplete
let OmniCpp_NamespaceSearch = 1
let OmniCpp_GlobalScopeSearch = 1
let OmniCpp_ShowAccess = 1
let OmniCpp_MayCompleteDot = 1
let OmniCpp_MayCompleteArrow = 1
let OmniCpp_MayCompleteScope = 1
let OmniCpp_DefaultNamespaces = ["std", "_GLIBCXX_STD"]
" automatically open and close the popup menu / preview window
au CursorMovedI,InsertLeave * if pumvisible() == 0|silent! pclose|endif
set completeopt=menuone,menu,longest,preview

Now I have this code:
Code:

#include <vector>

int main()
{
    std<int>::vector vi;
    vi.

 I get:
 -- Omni completion (^O^N^P) Pattern not found

 just after inserting the ".".

 What could be wrong?
 Thanks!
 Nathan
        

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to