Dear All,

I would appreciate if you could help me set-up omni for an external C++
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 and:
1) Typing namespace works
Foam::fvc::...

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

volScalarField alpha1 (constructor)
aplpha1. ...

I get a Pattern Not Found error. Instead I would expect omni to give me
functions or public components of volScalarField class.


How can I check what's happening? How can I fix it? Is there any debug mode
for omni? 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-tp4574472p4574472.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