Dear All,

I would appreciate if you could help me with a proper set-up of a syntax
completion for an external library. Following these instructions
http://vim.wikia.com/wiki/VimTip1608

I was able to bring omni functionality to my cpp code. So now whenever I
type say:

                std::list<dimensionedScalar> *lst
                lst ->...

vim displays appropriate class components.

Now I am trying to repeat this trick for a set of libraries that I am using
in my project. The project is basically a large C/C++ library - it's called
OpenFOAM.

I create the tags with
ctags -R --c++-kinds=+p --fields=+iaS --extra=+q --language-force=C++
~/OpenFOAM/OpenFOAM-2.0.x/
mv tags OF

I add the tags to my vimrc
set tags+=~/.vim/tags/OF

And I try to use it:
1) Typing namespace works
Foam::fvc::...
brings classes

2) But when I want to access components of objects e.g.:

volScalarField alpha1 (constructor)
aplpha1. ...

I get a Pattern Not Found error.


How can I check what's happening? How can I fix it? Is there any debug mode
for omni? I expect omni to give me a list of relevant functions. I would be
really grateful for any assistance.

Kind Regards,
Robert


--
View this message in context: 
http://vim.1045645.n5.nabble.com/omni-and-OpenFOAM-tp4574305p4574305.html
Sent from the Vim - General mailing list archive at Nabble.com.

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to