heraldofsolace/VimHelpBot

Help pages are shown multiple times if referenced multiple times in the same comment

Closed this issue · 2 comments

Describe the bug

As above.

To Reproduce

See: https://www.reddit.com/r/vim/comments/gsaynx/why_are_the_showmode_line_and_the_status_line/fs49kno/

Expected behavior

If, for example, I type :help 'ruler' in one paragraph and :help 'ruler' in another paragraph of the same comment, VimHelpBot should not show help for 'ruler' twice.

Screenshots

Screen Shot 2020-05-28 at 9 11 08 PM

This is strange because it already checks for duplicate tags.

Nevermind, the code for checking got deleted during refactoring.