mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-10-08 19:22:14 +00:00
Fix lua 5.1 detection on FreeBSD
FreeBSD installs lua 5.1 binary as `lua51`. Add this to the list of possible binary names.
This commit is contained in:
parent
6c3bda4aca
commit
c006b3b869
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ function M.check(opts)
|
|||
else
|
||||
ok = Health.have("luarocks", opts)
|
||||
Health.have(
|
||||
{ "lua5.1", "lua", "lua-5.1" },
|
||||
{ "lua5.1", "lua", "lua-5.1", "lua51" },
|
||||
vim.tbl_extend("force", opts, {
|
||||
version = "-v",
|
||||
version_pattern = "5.1",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue