mirror of https://github.com/folke/lazy.nvim.git
fix(health): added luarocks check to health
This commit is contained in:
parent
79c2efc8d8
commit
0f45c0d062
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue