Re: Re : Omni Confusion

2007-02-20 Thread Bill McCarthy
Vissale, On Tue 20-Feb-07 2:25am -0600, you wrote: > I forgot to mention that you have to build your tags database with > this command : > > ctags -R --c++-kinds=+p --fields=+iaS --extra=+q . > > You'll see more details on these parameters in the help file. > > Moreover, there is a recent bug whe

Re: Re : Omni Confusion

2007-02-20 Thread Vissale NEANG
I forgot to mention that you have to build your tags database with this command : ctags -R --c++-kinds=+p --fields=+iaS --extra=+q . You'll see more details on these parameters in the help file. Moreover, there is a recent bug where you have to disable the ignorecase function to complete correc

Re: Re : Omni Confusion

2007-02-19 Thread Bill McCarthy
On Mon 19-Feb-07 6:14am -0600, Vissale NEANG wrote: > To use cpp completion with c files you can copy > ~/.vim/after/ftplugin/cpp.vim to ~/.vim/after/ftplugin/c.vim This apparently doesn't work with C. I've installed it and copied cpp.vim to c.vim as instructed above. It automatically goes into

Re: Re : Omni Confusion

2007-02-19 Thread Bill McCarthy
On Mon 19-Feb-07 6:14am -0600, Vissale NEANG wrote: > To use cpp completion with c files you can copy > ~/.vim/after/ftplugin/cpp.vim to ~/.vim/after/ftplugin/c.vim Thank you. That looks like a nice simple solution to use until ccomplete is fixed. I'll try it tonight. -- Best regards, Bill

Re : Omni Confusion

2007-02-19 Thread Vissale NEANG
Hello, To use cpp completion with c files you can copy ~/.vim/after/ftplugin/cpp.vim to ~/.vim/after/ftplugin/c.vim Best regards vissale

Re: Omni Confusion

2007-02-18 Thread Bill McCarthy
On Sun 18-Feb-07 9:06pm -0600, Bram Moolenaar wrote: > Bill McCarthy wrote: >> Writing in C, I have a function that looks like this: >> >> void myfunc( A *a, B *b, C *c ) >> { >> /* stuff */ >> } >> >> A, B and C are structures in a header file which is >> included. >> >> The included head

Re: Omni Confusion

2007-02-18 Thread Bram Moolenaar
Bill McCarthy wrote: > Writing in C, I have a function that looks like this: > > void myfunc( A *a, B *b, C *c ) > { > /* stuff */ > } > > A, B and C are structures in a header file which is > included. > > The included header file contains the structures like this: > > typedef struct

Re: Omni Confusion

2007-02-18 Thread Yegappan Lakshmanan
Hi, On 2/18/07, Bill McCarthy <[EMAIL PROTECTED]> wrote: Hello Vim List, Writing in C, I have a function that looks like this: void myfunc( A *a, B *b, C *c ) { /* stuff */ } A, B and C are structures in a header file which is included. The included header file contains the structures li