lazy.nvim/lua/lazy
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
..
community chore(build): auto-generate rockspec mappings 2025-02-15 07:25:07 +00:00
core chore(main): release 11.17.1 (#1927) 2025-02-25 20:19:57 +01:00
manage fix(plugin): don't check if dir exists for virtual plugins 2024-12-07 11:52:43 +01:00
pkg fix(health, rockspec): accept Lua 5.1+ for luarocks compatibility 2025-07-14 16:29:52 -04:00
view fix(ui): do not show virt_lines for messages (#1904) 2025-02-06 07:53:12 +01:00
async.lua fix(async): make asyncs abortable 2024-06-30 13:35:14 +02:00
build.lua ci: added neo to rockspec patterns 2024-06-26 06:22:23 +02:00
docs.lua ci: docgen fixes 2024-11-20 09:24:28 +01:00
example.lua style: fix some typo (#1496) 2024-06-03 09:18:43 +02:00
health.lua fix(health, rockspec): accept Lua 5.1+ for luarocks compatibility 2025-07-14 16:29:52 -04:00
help.lua fix(help): get rid of any tbl_flatten or iter flatten code 2024-05-19 17:29:43 +02:00
init.lua docs: make bootstrap work on stable and nightly. Fixes #1391 2024-03-27 09:23:19 +01:00
minit.lua ci: add luassert to minitest for now 2024-07-13 09:45:01 +02:00
state.lua style: sort requires 2023-10-09 11:25:42 +02:00
stats.lua feat(profiling): merge VeryLazy stats and show startuptime in profile view 2024-07-04 15:17:10 +02:00
status.lua feat(ui): added statusline component to show pending updates 2022-12-05 20:49:45 +01:00
terminal.lua feat: added opts.headless to control ansi output when running headless 2024-06-26 21:38:28 +02:00
types.lua fix(meta): disable top-level specs before the rest. Closes #1889 2025-02-15 23:06:09 +01:00
util.lua fix(process): deal with process errors 2024-06-29 13:52:50 +02:00