votl icon indicating copy to clipboard operation
votl copied to clipboard

Dublicate Tags in Documentation

Open terhardt opened this issue 13 years ago • 3 comments

First of all, thanks for fixing the old vim outliner plugin!

When I load the bundle with pathogen the following errors are produced:

Error detected while processing function pathogen#helptags:
line    4:
E154: Duplicate tag ":VotlTag" in file /Users/tobi/.vim/bundle/votl/doc/votl.txt
E154: Duplicate tag ":VotlTag" in file /Users/tobi/.vim/bundle/votl/doc/votl.txt
E154: Duplicate tag "Journal" in file /Users/tobi/.vim/bundle/votl/doc/votl.txt
E154: Duplicate tag "Journal" in file /Users/tobi/.vim/bundle/votl/doc/votl.txt
E154: Duplicate tag "Journal" in file /Users/tobi/.vim/bundle/votl/doc/votl.txt
E154: Duplicate tag "RestructuredText" in file /Users/tobi/.vim/bundle/votl/doc/votl.txt
E154: Duplicate tag "VimOutliner" in file /Users/tobi/.vim/bundle/votl/doc/votl.txt
E154: Duplicate tag "VimOutliner" in file /Users/tobi/.vim/bundle/votl/doc/votl.txt
E154: Duplicate tag "VimOutliner" in file /Users/tobi/.vim/bundle/votl/doc/votl.txt
E154: Duplicate tag "VimOutliner" in file /Users/tobi/.vim/bundle/votl/doc/votl.txt
E154: Duplicate tag "foo" in file /Users/tobi/.vim/bundle/votl/doc/votl.txt
E154: Duplicate tag "vim-rst-tables" in file /Users/tobi/.vim/bundle/votl/doc/votl.txt
E154: Duplicate tag "vim-rst-tables" in file /Users/tobi/.vim/bundle/votl/doc/votl.txt
E154: Duplicate tag "votl" in file /Users/tobi/.vim/bundle/votl/doc/votl.txt

I guess something is wrong with the tags in the help file

terhardt avatar Oct 09 '12 11:10 terhardt

That's interesting. I don't use pathogen and am not familiar with it. Instead I use vundle for managing plugins. That being said this looks like a bug in pathogen itself. Can you bring this issue up with the pathogen maintainer and see what's up?

insanum avatar Oct 09 '12 16:10 insanum

It looks like an error in how you formatted the documentation. Like the output is saying, duplicate tags are detected. Vim uses asterisk surrounded text for its help tags, which are automatically generated by pathogen for documentation searching with :help foo It looks like you're using them for italics as per reST, which is messing it up.

darkfeline avatar Jul 10 '13 04:07 darkfeline

I made a simple patch by simply removing all of the asterisks you used for italics and leaving the ones used for tags alone. https://github.com/insanum/votl/pull/5 (I forgot Git creates a new issue for pull requests, sorry about that.)

darkfeline avatar Jul 10 '13 04:07 darkfeline