lazy.nvim: a modern plugin manager that actually handles lazy-loading well

AI-generated summary of reporting by GitHub Opensource Projects. Read the original for the full story.

Why it matters

Neovim users with large plugin setups can now get faster startup times without hand-writing lazy-loading autocmds or splitting their config.

Read this as

lazy.nvim is a free tool that manages extensions (plugins) for Neovim, a popular text editor used by programmers. Its main trick is loading those extensions only at the moment they are actually needed, rather than all at once when the editor opens, which makes startup faster and uses less memory. The article claims this works well even with 100+ plugins installed. The tool was built by folke and is aimed at Neovim 0.5+ users.

lazy.nvim is a free, open-source plugin manager for Neovim 0.5+ that competes with existing managers by making lazy loading, the practice of delaying a plugin's load until needed, the default rather than an add-on. It targets developers whose editors start slowly; the article cites the example of a Neovim taking 3 seconds to start with 50 plugins. No adoption, funding or maintenance details are given.

lazy.nvim (by folke, requiring Neovim 0.5+) treats lazy loading as a first-class feature: plugins load on events (filetype, keymap, command), on requiring specific Lua modules, or via conditional imports of split spec files, configured with flags like lazy = true or event = "VeryLazy". It includes a built-in startup-time profiler and a :Lazy UI. No benchmark numbers beyond the illustrative '3 seconds with 50 plugins' example are provided.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

lazy.nvim Neovim folke Lua

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading