Sunday, May 3, 2020

Re: E431

On 2020-05-03, Steve wrote:
> Seems that the *.js files were causing the problem. I reran ctags like
> this and it now works as expected:
>
> ctags -R --exclude='*.js' .
>
> But don't understand why js files were the culprit.

You wrote that you got this error message:

E431 format error in tags file tags before byte 62

The format of a tags file is pretty simple. You can read about it
at

:help E431

Try opening the tags file with the error using Vim and execute this
normal-mode command:

62go

That will put the cursor on byte 62. The error should be apparent.
Since Vim expects to see tabs between fields of the tags lines, it
might help to execute

:set list

to make the tabs visible.

If the error is still not apparent, post the first few lines of the
tags file here and maybe someone here can see the problem.

It could be something like the coding of the .js file that causes
ctags to create a line that Vim can't understand, but that's just
a guess.

Regards,
Gary

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20200503184721.GC390%40phoenix.

No comments:

Post a Comment