|
|
|
|
|
by TymekDev
78 days ago
|
|
That's my impression too. However, I might give `vim.pack` a go for the novelty. That being said, there is a way to lazy-load the plugins — Evgeni has a guide for that [1]. The "Load not during startup" variant is really simple with putting `vim.pack.add()` into `vim.schedule()`. The other myriad of options (keys, cmds, event) that lazy.nvim provides would require you to set up appropriate autocommands. It gives me vibes of writing in Go. Everything is right there — builtin — but there's some verbosity to bear with. [1]: https://echasnovski.com/blog/2026-03-13-a-guide-to-vim-pack.... |
|
``` vim.api.nvim_create_autocmd("User", ... ```
But it only solves the actual lazy part. Not sure how you can solve defining plugin dependency graph for such loading that lazy.nvim allows.
I can try experimenting with it anyway.