On Tue, 02 Jun 2009 00:05:12 +0200, Nathan Huesken wrote:

> 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!

It's std::vector<int>, not std<int>::vector. But since I don't know 
anything about omnicompletion, I don't know whether that will help you at 
all.


-- 
Chanoch (Ken) Bloom. PhD candidate. Linguistic Cognition Laboratory.
Department of Computer Science. Illinois Institute of Technology.
http://www.iit.edu/~kbloom1/


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

Reply via email to