Reputation: 402
When trying to run taglist (:TlistToggle
) on a .py file I get the error:
Taglist: Failed to generate tags for /Users/...py
ctags: illegal option -- -^@usage: ctags [-BFatuwvx] [-f tagsfile] file ...^@
I've downloaded the latest taglist and ctags plugins, and ran :let Tlist_Ctags_Cmd = '"/usr/local/bin/ctags"'
within vim (I'm on OS X, running vim in the terminal).
Any thoughts to why I get the above error?
Upvotes: 2
Views: 4291
Reputation: 435
You need "exuberant ctags tool" and you can follow following steps to build your own and install.
Once you have the binary you can move it to your bin folder as:
sudo mv ctags /usr/bin/ctags-exuberant
and use ctags-exuberant instead of ctags.
Upvotes: 1