Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
richcarl opened this issue Apr 13, 2024 · 0 comments
Open

Comments

@richcarl
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant