Replies: 1 comment 6 replies
-
#1167 might be of help. No need to use this function of yours (except if you really want to) when you can just assign the same keymap via |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've got a module
themes.lua
and I want to use telescope to allow listing and picking from one of the themes. I still want to lazy load the themes, though, so I wrote a little function that will lazy load all of the themes (based in on a list of plugin specs) before showing the picker. It looks like this:It works, but it's pretty inefficient, because it has to walk over every plugin and look for a match. Is there a better way to get the managed plugin from a plugin spec so I can determine if it's already loaded, and so that I can get the tracked name to load it on demand?
Beta Was this translation helpful? Give feedback.
All reactions