Skip to content

Spurious help-target added when referencing A (append-at-end-of-line) #49

@Gumnos

Description

@Gumnos

Describe the bug

When referencing the help for A, it also includes a spurious link to the help for a-backtick in motion.txt

To Reproduce

Invoke the help-bot with backtick, colon, "help", space, capital A, backtick (spelled out to ensure it's conveyed properly, but should look like :help A

Expected behavior

The help-bot replies with just the link to the help for A (not help for a-backtick)

Screenshots

While not a screenshot, here's the Reddit thread in which it happened:

https://www.reddit.com/r/vim/comments/1hmlgx0/is_there_a_way_to_move_my_cursor_right_on_a/m3v8vi2/?context=3

My guess is that something in the closing-backtick gets interpreted as also issuing

:help a`

While in here, the emitted (wrong) entry seems to mis-escape the closing backtick (precisely what I was concerned about in my opening description 😂) getting the backtick displayed outside the <code> markup.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions