all 6 comments

sorted by: hot top controversial new old
[–] 8 points 7 months ago (2 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!

  • source
  • hideshow 2 child comments
  • [–] 2 points 7 months ago (1 child)

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

  • source
  • hideshow 1 child comment
  • [–] 1 point 7 months 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).

  • source
  • parent
  • [–] 2 points 7 months 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.

  • source