Skip to content

feat: support desc for string command keymaps #1414

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

Merged
merged 2 commits into from
Dec 24, 2024

Conversation

JustBarnt
Copy link
Contributor

Would fix: #1413
Allowing a custom desc to be passed when sending a keymap instead of just defaulting to the command passed
Ex: Sending { 'diff_files', desc = "Diff Two Files' } would now set the help text to "Diff Two Files" instead of "diff_files"

@pynappo pynappo changed the title feat: Added support for using a desc with a string command for a keymap feat: use desc for string command keymap help if available Dec 24, 2024
@pynappo pynappo changed the title feat: use desc for string command keymap help if available feat: support desc for string command keymap help if available Dec 24, 2024
@pynappo pynappo changed the title feat: support desc for string command keymap help if available feat: support desc for string command keymaps Dec 24, 2024
@pynappo pynappo merged commit ecf9ba5 into nvim-neo-tree:main Dec 24, 2024
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.

FEATURE: Set Keymap Description
2 participants