fix(health): added luarocks check to health

This commit is contained in:
Folke Lemaitre 2024-06-24 17:50:27 +02:00
parent 79c2efc8d8
commit 0f45c0d062
No known key found for this signature in database
GPG Key ID: 41F8B1FBACAE2040
1 changed files with 8 additions and 2 deletions

View File

@ -13,9 +13,15 @@ function M.check()
start("lazy.nvim") start("lazy.nvim")
if vim.fn.executable("git") == 1 then if vim.fn.executable("git") == 1 then
ok("Git installed") ok("'git' installed")
else else
error("Git not installed?") error("'git' not installed?")
end
if vim.fn.executable("luarocks") == 1 then
ok("'luarocks' installed")
else
error("'luarocks' not installed")
end end
local sites = vim.opt.packpath:get() local sites = vim.opt.packpath:get()