Skip to content

Commit 0f45c0d

Browse files
committed
fix(health): added luarocks check to health
1 parent 79c2efc commit 0f45c0d

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

lua/lazy/health.lua

+8-2
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,15 @@ function M.check()
1313
start("lazy.nvim")
1414

1515
if vim.fn.executable("git") == 1 then
16-
ok("Git installed")
16+
ok("'git' installed")
1717
else
18-
error("Git not installed?")
18+
error("'git' not installed?")
19+
end
20+
21+
if vim.fn.executable("luarocks") == 1 then
22+
ok("'luarocks' installed")
23+
else
24+
error("'luarocks' not installed")
1925
end
2026

2127
local sites = vim.opt.packpath:get()

0 commit comments

Comments
 (0)