Friday, August 12, 2011

Re: tag question (struct name same as typedef name)

Thanks.  I suspected that's what I'd have to do.

I found the tags file format here:


Seems like this may be a good opportunity for me to get my feet wet using sed.  ;)

Best regards,
Paul Stone

On Fri, Aug 12, 2011 at 5:12 AM, John Little <john.b.little@gmail.com> wrote:

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

Vim just presents what the tags file says.  You could either find an
option in your tags programme to leave out the one you don't want, or
post process the tags file to remove the duds.  (I've encountered
large scripts that hack tags files into shape.  Had to maintain one
once.)

Regards, John

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

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