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

Error - Failed to get supported languages! #14

Closed kavika13 closed 13 years ago

kavika13 commented 13 years ago

After installing, when I load any file in gVim, after a few seconds, I get an error:

easytags.vim 2.4.9: Failed to get supported languages! (output: Ant^@ ... a whole bunch ... ^@YACC) (at function xolox#easytags#autoload..xolox#easytags#update..17_check_cfile..xolox#easytags#supported_filetypes, line 11)

Browsing the source, it seems this is a faulty error. The list I am getting shows that ctags.exe was found, and --list-languages returned data.

If I run ctags manually a few times on the command line with the --list-languages option, and then echo %ERRORLEVEL%, I get "0". Just before running it, it was returning "9009" (due to a bad command I entered). I am not sure this is reliable on Windows, but I think that means the process is returning 0.

I am using the latest version of github. I simply clicked "download", grabbed the zip archive, and extracted it to %UserProfile%\vimfiles.

I am using Exuberant Ctags 5.8 on Windows 7 x64, the build from the front page: http://ctags.sourceforge.net/

I am using a somewhat old version of the gVim Windows binaries (an older x64 compile, before I believe x64 compiles were provided on the main gVim site):

VIM - Vi IMproved 7.2 (2008 Aug 9, compiled Feb 26 2010 12:56:39) MS-Windows 64-bit GUI version with OLE support Included patches: 1-376 Compiled by georger@COZIGROUP ...

kavika13 commented 13 years ago

This was solved by upgrading my Vim to the latest version off www.vim.org. I think it was an issue with the custom x64 binaries I had installed.