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

Enable lazy loading optional parameter #175

Open
trekie86 opened this issue Nov 7, 2023 · 0 comments
Open

Enable lazy loading optional parameter #175

trekie86 opened this issue Nov 7, 2023 · 0 comments

Comments

@trekie86
Copy link

trekie86 commented Nov 7, 2023

If the feature request is for a plugin or theme, specify it here.

plugins in general

If the feature solves a problem you have, specify it here.

When I open my terminal, I want zsh ready to go when I start it. At times, startup was very slow...I'm looking at you NVM, and so I spent some time profiling to figure out the source. There are some of my plugins which I need right away (e.g. ones that set the style), but there are others that can be delayed a bit. It would be nice for zap to support lazy loading out of the box and not rely upon each individual plugin to support it.

Describe the proposed feature.

  • Support lazy loading of a plugin
  • Provide optional parameter to lazy load a particular plugin

Describe alternatives you've considered

Moving one by one through plugins that are slower to start but not necessary for startup and finding lazy-loading alternatives.

Additional context

No response

Related Issues

Could help address: #174

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

No branches or pull requests

1 participant