Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to find offending format error in Vim tags file

Tags:

vim

tags

I've recently seen this error whenever I hit autocomplete macros in Vim (e.g. ctrl-n):

E431: Format error in tags file "tags"

The tags file is generated with Exuberant Ctags and it's about 1MB. How do I find the error that's triggering this error?

like image 285
mahemoff Avatar asked Dec 05 '14 10:12

mahemoff


1 Answers

I found some extra lines present before !_TAG_FILE_FORMAT line in the generated tags file.When i remove these extra lines, vim starts working.

like image 73
Ali Avatar answered Sep 24 '22 22:09

Ali