vimctagsvim-plugintaglist

vim: taglist fails to generate tags


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?


Solution

  • Taglist only supports "exuberant ctags tool", not "GNU ctags or the Unix ctags", see the FAQ.

    I use tagbar instead of it.