Thursday, August 11, 2011

tag question (struct name same as typedef name)

Hi Folks,

The following construct causes an annoyance for me in VIM, when I do a tag search:

typedef struct mystruct
{
        blah;
} mystruct;

A team member wants to use this construct.  When I do a tag search (ctrl-click or :tag), I am presented with two options, since there are two definitions with equal priority.

Is there any way to work around this annoyance, so I don't have to press '1'<enter> every time I do a tag search on a struct?

Best regards,
Paul Stone

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