heraldofsolace/VimHelpBot

Remove fallback mechanism

Closed this issue · 0 comments

Describe the bug
Currently the bot looks for query inside back-ticks and falls back to general search if no such query is found. This causes issue when there is both back-ticked and normal queries as the bot only replies to the backticked ones.

The fallback mechanism should be removed and both type of queries should be searched.

To Reproduce
Steps to reproduce the behavior:

  1. Post a comment containing both types of queries.

Expected behavior
The bot replies to all types of queries.

Additional context
Seen here https://www.reddit.com/r/vim/comments/gs5xkm/sorting_markdown_checkboxes_list/fs36f63?utm_source=share&utm_medium=web2x