Skip to content

Enable lazy loading optional parameter #175

Description

@trekie86

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions