Joe.Z
Joe.Z

Reputation: 2745

Does GNU Global/gtags support taglist vim plugin?

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

Upvotes: 1

Views: 1867

Answers (2)

garph0
garph0

Reputation: 1708

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.

Upvotes: 1

romainl
romainl

Reputation: 196596

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.

Upvotes: 0

Related Questions