|
|
||
|---|---|---|
| .github | ||
| doc | ||
| lua/lazy | ||
| tests | ||
| .gitignore | ||
| .neoconf.json | ||
| CHANGELOG.md | ||
| README.md | ||
| TODO.md | ||
| selene.toml | ||
| stylua.toml | ||
| vim.toml | ||
README.md
๐ค lazy.nvim
Modern plugin manager for Neovim
โจ Features
- ๐ฆ Manage all your Neovim plugins with a fancy UI
- ๐ Fast startup: Automatically caches and compiles byte code of all lua modules needed during startup
- ๐พ Partial clones instead of shallow clones
- ๐ Auto lazy-loading of lua modules
- ๐ Lazy-loading on events, commands, filetypes and key mappings
- โณ Automatically installs missing plugins before starting up so you can start using Neovim right away
- ๐ช Async execution for improved performance
- ๐ ๏ธ No need to manually compile plugins
- ๐งช Correct sequencing of dependencies
- ๐ Configurable in multiple files
- ๐ป Dev option and patterns for using local plugin
- ๐ Profiling tools to optimize performance
- ๐ Lockfile
lazy-lock.jsonto keep track of installed plugin versions - ๐ Automatically check for updates
- ๐ Commit, branch, tag, version, and full Semver support
- ๐ Statusline component to see the number of pending updates
โก๏ธ Requirements
- Neovim >= 0.8.0
๐ฆ Installation
You can use the following Lua code to bootstrap lazy.nvim
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
vim.fn.system({
"git",
"clone",
"--filter=blob:none",
"--single-branch",
"https://github.com/folke/lazy.nvim.git",
lazypath,
})
vim.opt.runtimepath:prepend(lazypath)
end
Profiler
The profiling view shows you why and how long it took to load your plugins.
Debug
See an overview of active lazy-loading handlers and what's in the module cache
๐ฆ Differences with Packer
-
Plugin Spec:
setup=>initrequires=>dependenciesas=>nameopt=>lazyrun=>buildlock=>pinmoduleis auto-loaded. No need to specify


