No description
Find a file
Spencer Gray 17732094c8 fix(health, rockspec): accept Lua 5.1+ for luarocks compatibility
Previously, lazy.nvim health checks required exactly Lua 5.1, causing
warnings on systems with newer Lua versions (5.2, 5.3, 5.4). This was
unnecessarily restrictive since LuaRocks can run on any Lua version 5.1+
to build packages.

Its true that Neovim plugins must be Lua 5.1 compatible (due to LuaJIT),
but the `--lua-version 5.1` flag tells luarocks to build for 5.1.

After some light testing, I verified a system with Lua 5.4 should be
able to build Lua 5.1-compatible packages just fine.

The key point is that this removes false warnings while maintaining the
same safety guarantees - LuaRocks with any modern Lua version can still
build packages targeting Lua 5.1 compatibility for Neovim.

Closes: #2020
2025-07-14 16:29:52 -04:00
.github chore(main): release 11.17.1 (#1927) 2025-02-25 20:19:57 +01:00
doc chore(build): auto-generate docs 2025-01-06 20:14:50 +00:00
lua/lazy fix(health, rockspec): accept Lua 5.1+ for luarocks compatibility 2025-07-14 16:29:52 -04:00
scripts chore(update): update repository (#1638) 2024-07-13 10:07:17 +02:00
tests test: fix tests 2025-02-15 23:09:58 +01:00
.busted test: buse busted for running tasks 2024-06-26 14:30:55 +02:00
.editorconfig chore(update): update repository (#1653) 2024-07-15 17:09:32 +02:00
.gitignore ci: update 2024-07-06 23:45:30 +02:00
.markdownlint.yaml build: added markdownlint config 2022-12-19 19:09:54 +01:00
.neoconf.json perf: more cache optims 2023-02-14 11:00:56 +01:00
.styluaignore ci: add generated files to .styluaignore 2024-07-05 16:03:09 +02:00
bootstrap.lua fix(bootstrap): support for older Neovim versions 2025-02-25 20:02:32 +01:00
CHANGELOG.md chore(main): release 11.17.1 (#1927) 2025-02-25 20:19:57 +01:00
LICENSE docs: added lincense 2022-12-20 17:56:21 +01:00
manifest ci: auto-get rockspec mappings for rock name => github short url or url 2024-06-25 17:41:16 +02:00
README.md chore(build): auto-generate docs 2024-06-24 15:42:27 +00:00
selene.toml fix(pkg): correctly pre-load package specs and remove them when needed during resolve 2024-06-24 17:15:10 +02:00
stylua.toml style: sort requires 2023-10-09 11:25:42 +02:00
TODO.md style: fix some typo (#1496) 2024-06-03 09:18:43 +02:00
vim.toml refactor: async processes 2024-06-28 16:08:26 +02:00

Install · Configure · Docs

lazy.nvim is a modern plugin manager for Neovim.

image

Features

  • 📦 Manage all your Neovim plugins with a powerful UI
  • 🚀 Fast startup times thanks to automatic caching and bytecode compilation of Lua modules
  • 💾 Partial clones instead of shallow clones
  • 🔌 Automatic lazy-loading of Lua modules and lazy-loading on events, commands, filetypes, and key mappings
  • Automatically install missing plugins before starting up Neovim, allowing you to start using it right away
  • 💪 Async execution for improved performance
  • 🛠️ No need to manually compile plugins
  • 🧪 Correct sequencing of dependencies
  • 📁 Configurable in multiple files
  • 📚 Generates helptags of the headings in README.md files for plugins that don't have vimdocs
  • 💻 Dev options and patterns for using local plugins
  • 📊 Profiling tools to optimize performance
  • 🔒 Lockfile lazy-lock.json to keep track of installed plugins
  • 🔎 Automatically check for updates
  • 📋 Commit, branch, tag, version, and full Semver support
  • 📈 Statusline component to see the number of pending updates
  • 🎨 Automatically lazy-loads colorschemes

Requirements

  • Neovim >= 0.8.0 (needs to be built with LuaJIT)
  • Git >= 2.19.0 (for partial clones support)
  • a Nerd Font (optional)
  • luarocks to install rockspecs. You can remove rockspec from opts.pkg.sources to disable this feature.

🚀 Getting Started

Check the documentation website for more information.