xolox / vim-easytags

Automated tag file generation and syntax highlighting of tags in Vim
http://peterodding.com/code/vim/easytags/
1.01k stars 109 forks source link

osx, brew, and suggested --version #8

Closed zekus closed 13 years ago

zekus commented 13 years ago

I've run on the command line "ctags --version" as the plugin should do based on the documentation, and it just gives an error: it seems that the option --version doesnt exist! I installed the ctags from brew, it's the 5.8 version and I was making sure to run the ctags just installed not the one that ships with osx.

Any suggestions?

xolox commented 13 years ago

Hi zekus,

It sounds like you're still executing the wrong ctags program. Try the command "which ctags" on the command line to see which of the two has precedence, I'm guessing /usr/bin/ctags (the system default) overrides /usr/local/bin/ctags (which you installed). I found an article which explains how to solve this problem on OS X:

http://adamyoung.net/Exuberant-Ctags-OS-X

Hope this helps!

I've run on the command line "ctags --version" as the plugin should do based on the documentation, and it just gives an error: it seems that the option --version doesnt exist! I installed the ctags from brew, it's the 5.8 version and I was making sure to run the ctags just installed not the one that ships with osx.

Any suggestions?

zekus commented 13 years ago

Hi Xolox,

thanks for your quick answer. I managed to fix it reinstalling brew from scratch and then reinstalling ctags. Seems like my brew repo was corrupted for some obscure reasons.

-Antonio