Monday, December 20, 2010

Language-specific omnicompletion

Hi,

If the answer to this is buried in the help files, please point me there.

But I was wondering if its possible for omnicompletion to be more
cleverer than it is at the moment. For instance, if I have this:

struct foo
{
char *name;
char *address;
int age;
};

And I type:

foo->

and then press ^n, it would be really cool if the completion menu
would list only name, address, and age. At the moment, it will list a
huge long list of things -- which don't relate to anything in the foo
struct.

i hope that makes sense. :)

TIA,

David

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

No comments: