I have installed vim 7.4 in a windows 7 machine. The ctags that comes with it seems to be broken. When I do :!ctags -R . from within vim I get :
C:\WINDOWS\system32\cmd.exe /c (ctags -R .)
Input file specified two times.
ctags: cannot sort tag file : No such file or directory
shell returned 1
Hit any key to close this window...
In this case ctags creates a tags file that is empty. I then installed ctags from sourceforge And it works.
But I could not find how I should tell vim to use the ctags I just doenloaded.
ctags installed in vim is 5.2.3
ctags from sourceforge is 5.8
I tried:
let g:netrw_ctags = "C:/Users/aslavcd/Program Files/ctags58/ctags.exe"
To wherever ctags is. But it doesn't change it.
Problem Resolved. I had an older version of ctags installed by another program and added to Path.
OK. Silly answer. I had an older version installed by QNX Momentics and, of course, added to path.
Further information: QNX 6.5.0 puts its unix executables (like ls, mkdir, etc.) in the path, which is aproblem because I then ended up with two ctags executables in the path. In QNX 6.6.0. and later the instalation doesn't put the QNX executables in the path directly but uses a .bat file that is has to be executed in order to have them (like when you need compilation).