wbthomason / packer.nvim

A use-package inspired plugin manager for Neovim. Uses native packages, supports Luarocks dependencies, written in Lua, allows for expressive config
MIT License
7.87k stars 267 forks source link

add key `defer [N]` to lazy-load plugin after N seconds of idle time #1051

Closed younger-1 closed 2 years ago

younger-1 commented 2 years ago

Describe the feature

Like https://github.com/jwiegley/use-package#defer-now-accepts-an-optional-numeric-argument

younger-1 commented 2 years ago

related: #8

akinsho commented 2 years ago

@younger-1 this seems like a duplicate of the issue you linked, don't think we need both, maybe you can add your link to that issue.

wbthomason commented 2 years ago

Closing as duplicate. If you're interested in helping with a PR, @younger-1, this should be an approachable feature (unless packadd can't be used in callbacks).