-
-
Notifications
You must be signed in to change notification settings - Fork 136
utility/telescope: custom extensions API #559
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
Conversation
8a4a0e5
to
922b622
Compare
922b622
to
5f13023
Compare
Co-authored-by: Ching Pei Yang <[email protected]>
02ee4cc
to
bc978c4
Compare
I'd be interested in this! I wanna use some telescope plugins but it's quite difficult to add them as of right now. |
adding your extensions to startPlugins should work fine currently |
@horriblename could you remind me what the blocker was for this? I don't think API needs further work, but if there's a blocker we can probably look at resolving it for 0.8. |
it was the fact that nixpkgs telescope extensions add a duplicate telescope package, and messing up lazy loading I think our little hack (unrelated to this PR) is still working, so we can merge this in first and worry about a proper fix later |
b6e8f8a
to
7644edf
Compare
✅ Preview has been deleted successfully! |
Implements a basic
telescope.extensions
option to take a list of additional extensions with the following schema:Name is used to construct the
load_extension
line, packages are added tovim.startPlugins
verbatim and all setup attrs are merged into one to be passed to telescope's own setup table.Fixes #542.