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?
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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.