nixvim icon indicating copy to clipboard operation
nixvim copied to clipboard

[Feature] Lazy loading

Open GaetanLepage opened this issue 2 years ago • 53 comments

-->Summary: https://notes.glepage.com/rA_fyfKESvC9OxGGNHOYXw#Lazy-Loading <--

Currently, nixvim relies on the neovim built-in way of loading plugins. This is implemented by nixpkgs neovim's module. It has the advantage of existing and leveraging the collection of plugins packaged in nixpkgs.

With that said, the very popular lazy.nvim plugin manager proposes a more performant way of loading plugins. Imitating their lazy loading process could be a very valuable addition to nixvim. I would guess that this feature should be optional so that conventional loading would stay the default.

As of today, no-one has started to work on this issue. Feel free to go and make a PR, even if the work is in draft-stage. I will personally be glad to review and discuss a proposed implementation.

GaetanLepage avatar Jun 11 '23 19:06 GaetanLepage