• Slotos@feddit.nl
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    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!

  • Hexarei@beehaw.org
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

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

  • SinTan1729@programming.dev
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 month 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.