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

feature: always evaluate cond if it is a function #880

Open
1 task done
metalinspired opened this issue Nov 1, 2024 · 3 comments
Open
1 task done

feature: always evaluate cond if it is a function #880

metalinspired opened this issue Nov 1, 2024 · 3 comments
Labels
enhancement New feature or request stale

Comments

@metalinspired
Copy link

Did you check the docs?

  • I have read all the which-key.nvim docs

Is your feature request related to a problem? Please describe.

cond is evaluated only once which, in my opinion, greatly reduces its usefulness

Describe the solution you'd like

It would be nice that cond is evaluated always if it is a function.
This way we could dynamically en-/disable a mapping.

Describe alternatives you've considered

Auto command maybe...

Additional context

No response

Copy link
Contributor

github-actions bot commented Dec 2, 2024

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the stale label Dec 2, 2024
@metalinspired
Copy link
Author

bump

@github-actions github-actions bot removed the stale label Dec 3, 2024
Copy link
Contributor

github-actions bot commented Jan 3, 2025

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the stale label Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request stale
Projects
None yet
Development

No branches or pull requests

1 participant