Does GNU Global/gtags support taglist vim plugin?

1.8k Views Asked by At

I did some searches, but did not find anything useful. Could someone refer me to some links or give instructions directly? Thanks.

2

There are 2 best solutions below

3
On

Funny, I've just decided to finally try GNU GLOBAL about an hour ago.

gtags is not in TagList's default executables. So it's not "supported".

Maybe you can add it via let Tlist_Ctags_Cmd='/path/to/gtags' but I doubt gtags accepts the same arguments as ctags or even if it can output its index to stdout like ctags which is what is used by TagList.

0
On

If you can accept to use vim's cscope interface, Gnu global comes with gtags-cscope which offers the same interface as cscope but backed by global's database. Just set cscopeprg=gtags-cscope and you'll be able to navigate across tags.