Skip to content

embark-prefix-help-command fails to show key bindings under lsp-mode #715

@richcarl

Description

@richcarl

When using (setq prefix-help-command #'embark-prefix-help-command), normally everything is fine, but for some reason in combination with lsp-mode (which uses a right-click popup menu), it doesn't show you the actual key bindings, but only "menu-item" (even though these items do have keybindings as well as being in the menu):

Skärmavbild 2024-04-13 kl  15 51 56

Whereas if you use the standard prefix-help-command, it succeeds in showing you the bindings:

Skärmavbild 2024-04-13 kl  15 53 01

I can't tell if it's embark-bindings-in-keymap that needs to be more clever, or if it's lsp-mode's lsp-define-conditional-key that does something in a nonstandard way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions