this post was submitted on 31 Mar 2026
13 points (93.3% liked)

Neovim

2799 readers
10 users here now

founded 2 years ago
MODERATORS
top 5 comments
sorted by: hot top controversial new old
[–] SinTan1729@programming.dev 2 points 3 days ago

Just to add to it, there's a thin wrapper around it called zpack that's basically a drop-in replacement for lazy.

I'm not the dev, but I've migrated from lazy to it without much of a hassle, and the performance seems to be on par. I did encounter a bug, but the dev was quick to fix it. Just wanted to give them a shout-out.

[–] Slotos@feddit.nl 10 points 1 week ago (1 children)

The Deal-Breaker

vim.pack has no event/filetype/command-based lazy loading. None. You either load at startup or you manually call :packadd in your config yourself.

Oh, so it’s sane and doesn’t try to bullshit it’s way out of plugin authors’ incompetence?

I’m sold!

[–] Piatro@programming.dev 1 points 1 week ago

It successfully protects us from authors not including lazy loading, why is that bad?

[–] Hexarei@beehaw.org 1 points 1 week ago (1 children)

This reads like AI. But also doesn't touch on the problem of running setup functions and such being very different.

[–] NuclearSquid@piaille.fr 1 points 1 week ago

@Hexarei @codeinabox
I was about to say that. Loading a plugin with it’s default config is easy (shit I did that back with Vim-Plug, while ignoring Packer because "it just works", a couple years ago).