Thursday, December 5, 2013

Re: tags without tags file

On 2013-12-05, Alexey wrote:
> Tony, thanks for the answer, but i have already seen most of it in
> the internet and in Vim help.
>
> My question was: how to find out which tags file is actually used?
> (I do not seem to have any in expected places.)
>
> Gary, thanks for the idea. Do you know by any chance if i can
> confirm somehow that the tag list is only generated in memory?

The only way I know is to read the plugin. I use two plugins that
save the output of ctags to a variable and they both use the
system() function to capture the output of the ctags command, as in
this example from the taglist.vim plugin:

" Run ctags and get the tag list
let cmd_output = system(ctags_cmd)

I found that by searching the plugin for the name of the ctags
program, then following the code that built the ctags_cmd string.

Regards,
Gary

--
--
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/groups/opt_out.

No comments: