JESii
(Jon Seidel)
December 15, 2013, 6:22am
1
I viewed the Drew Neil video on Vim & ctags - really terrific. I got everything configured just fine on my Kubuntu machine, but ran into problem on my MacBook. Drew mentions brew, but I use ports and there’s no exuberant-ctags port. So I built it from source (version 5.8) and everything seemed to work fine.
I ran it with
ctags -R .
and I get the message:
E432: Tags file not sorted
but then it eventually jumps to the method.
I’ve tried it with:
ctags -R --sort=yes .
and get the same error.
patrikbona
(Patrik Bóna)
December 15, 2013, 7:49pm
2
As Drew said, ctags version shipped with OSX is useless.
See also: tbaggery - Effortless Ctags with Git
If you don’t use brew, than you have to find another way how to install exuberant-ctags on your Mac.
JESii
(Jon Seidel)
December 15, 2013, 11:14pm
3
Thanks @patrikbona ; that’s why I installed exuberant-ctags from source…
kmcgladdery
(Kevin McGladdery)
December 16, 2013, 4:01am
4
What does the second line of your tags file say? It should start with something like !_TAG_FILE_SORTED.
patrikbona
(Patrik Bóna)
December 16, 2013, 7:26am
5
Yeah, I am sorry. Somehow I’ve overlooked that you had already built it…
JESii
(Jon Seidel)
December 16, 2013, 2:32pm
6
NP, @patrikbona :=) @kmcgladdery I checked; no such second line. So I just wiped out everything, rebuilt the tags file, and now it works… Thanks!