Le 04-05-2020, à 12:21:47 -0700, Gary Johnson a écrit :


I guess the first line doesn't look good.

Hi Steve,

No, it doesn't.  This looks like a bug in Exuberant Ctags that was
reported in August of 2009:

   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=541316

Since development of Exuberant Ctags stopped sometime in 2009, it
may never have been fixed.

2009, amazing.

Workarounds proposed in that report include editing the tags file
and deleting any suspicious lines before the !_TAG_FILE_FORMAT line,

which I did, and it works.

or filtering the tags file with an awk script (although I think
using sed or grep would be simpler).

If this happens only occasionally, I would just edit the tags file
with Vim.  If it's a continual problem, then running ctags like this
should fix it:

   $ ctags -R -f - | grep $'\t' > tags

This also helps, even if it spits out lines like:

ctags: Warning: ignoring null tag in includes/jquery/js/jquery.min.js

You could also try using Universal Ctags instead of Exuberant Ctags.
It might not have the bug, if this is indeed a bug in Exuberant
Ctags.

With Universal Ctags,

ctags -R .

throws out lines like

ctags: Warning: ignoring null tag in 
includes/jquery/plugins/flot/jquery.flot.pie.min.js(line: 7)

(but less than with Exuberant Ctags)

but works (no E431 error).

Don't know what are those "null tags" though.


Thanks for the help.

You're welcome.  I hope we can find a good solution.

Changing from Exuberant to Universal is a solution, thanks a lot.

I can now continue my learnings.

Have a nice day

Steve

--
--
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/20200505072602.GA14864%40paros.maison.mrs.

Reply via email to