heraldofsolace/VimHelpBot

Comments shouldn't be posted when the comment body is empty (no results found)

Closed this issue · 1 comments

Describe the bug

If :help nonexistent returns no results, VimHelpBot still posts a comment.

To Reproduce

Comment something like :help :doesnotexist

Expected behavior

No comment is posted.

Screenshots

image

Additional context

Seen here: https://www.reddit.com/r/vim/comments/gsojq2/what_is_the_best_way_to_save_resuable_macros/fs6iozj/

260d26a should fix this