Friday, August 28, 2009

Re: setting completion to use tagfiles

On Aug 28, 2:06 pm, Hari Krishna Dara <hari....@gmail.com> wrote:
>
> Coming up with a simple tag completion function using taglist()
> function is very straight-forward, but it won't perform well when
> there are many matches (e.g., you have only one. Here is one that I
> came up with starting from the example at |comple-functions|.
>

Are you guys aware of <C-X><C-]>? I thought the issue was generating
the tags to begin with, not with getting a list of them.

After the tags are generated properly, unless I misunderstand your
needs, <C-X><C-]> should allow tag-based completion in insert mode.

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

No comments: