Hi

I was about to add a test for the tagfiles()
function (currently not covered with tests)
and I noticed something which does not look
right:

  $ vim --clean

  :echo tagfiles()
  []
  :help
  :echo tagfiles()
  ['/usr/local/share/vim/vim81/doc/tags', '/usr/local/share/vim/vim81/doc/tags']

Notice the duplicate entry reported by tagfiles().
I assume that it's a bug, even if it does not seem to
have bad consequences.

f_tagfiles() calls  get_tagfname() twice in loop.
Each call to get_tagfname() result in
/usr/local/share/vim/vim81/doc/tags

It's probably easy to fix but I don't understand the
logic in get_tagfname().

Regards
Dominique

-- 
-- 
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui