Monday, April 25, 2016

Re: Correct filename tag matching for ctlr-]

Le jeudi 21 avril 2016 16:47:10 UTC+2, kent schonert a écrit :
> I've created ctag using "ctags -R --extra=f" to include an entry for the base file name of every source file.
>
> When I use the ctrl-] goto tag shortcut on an include file, "IF_Recipe.h" for example, ctrl-] will grab "IF_Recipe" w/o the extension and search for that tag. I would like it to search search for IF_Recipe.h or IF_RECIPE_H_ instead.
>
>
> tag file contents:
> ....
> IF_Recipe.h .\dirA\dirB\dirC\IF_Recipe.h 1;" F
> IF_RECIPE_H_ .\dirA\dirB\dirC\IF_Recipe.h 9;" d
>
> Thanks in Advance,
>
> -Kent

Hello Kent,

Might :h 'suffixesadd' help you?!

Enno

--
--
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 because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: