-
-
Notifications
You must be signed in to change notification settings - Fork 17
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]: per-mode implementations for functions (funcs) #413
Comments
Sounds good. Should be pretty easy to implement. |
@hinell are you willing to submit a PR for this? If not I can probably get to it next week. |
We need an alternative to |
This project is definitely contribution friendly! For context for everyone else reading, @hinell made a PR, I requested some changes, and he refused to make them. I'm under no obligation to merge an incomplete PR just because you say so. Here's the PR in question: #415 Anyone else is more than welcome to pick up the PR and actually implement the very simple changes I requested in order to make the feature align with the existing API for other item types 🙂 EDIT: I can't figure out how to filter out You can see that even @hinell himself has had PRs merged 🙂 |
The problem is that @mrjones2014 have suggested (very vaguely) me to implement entire keymaps-like |
Not sure what you mean. All I was saying is if we're supporting modes, like we do with keymaps, then we should support the same item definition syntax. Seems like a pretty simple ask to me. |
Similar Issues
Description
Very similiar to, but for functions:
Can we have the same feature for
legendary.funcs(...)
?There are functions, that can only be run in visual mode, so it's logical to have
{ mode = {...} }
restrictions so upon running:Legendary
we have these funcs filtered...The text was updated successfully, but these errors were encountered: