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

fix(help): correctly handle if keymap is "<nop>" #1404

Merged
merged 1 commit into from
Jul 1, 2024

Conversation

mehalter
Copy link
Contributor

@mehalter mehalter commented Jun 30, 2024

Currently the help pop up is broken because keymaps can be equal to "<nop>". This correctly verifies that the keymap is a table before adding it so that it skips nops.

Even with a completely base, minimal installation, running ? doesn't work at all. This fixes that

@mehalter
Copy link
Contributor Author

This issue looks to originate from: 43ac899

@Miyelsh
Copy link

Miyelsh commented Jul 1, 2024

Nice! I was chasing down this bug as well before seeing that you already made a fix.

@Miyelsh
Copy link

Miyelsh commented Jul 1, 2024

With your change, the help menu opens but some keybinds are not shown. With default neogit settings.

image

@CKolkey CKolkey merged commit 1838cd1 into NeogitOrg:master Jul 1, 2024
5 checks passed
@CKolkey
Copy link
Member

CKolkey commented Jul 1, 2024

Thanks!

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

Successfully merging this pull request may close these issues.

3 participants