fix(health): added fzf to healthchecks

This commit is contained in:
Folke Lemaitre 2024-12-14 07:44:00 +01:00
parent 1efb379485
commit 380cea97bf
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040

View file

@ -17,7 +17,7 @@ function M.check()
error("Neovim >= 0.9.0 is required") error("Neovim >= 0.9.0 is required")
end end
for _, cmd in ipairs({ "git", "rg", { "fd", "fdfind" }, "lazygit" }) do for _, cmd in ipairs({ "git", "rg", { "fd", "fdfind" }, "lazygit", "fzf" }) do
local name = type(cmd) == "string" and cmd or vim.inspect(cmd) local name = type(cmd) == "string" and cmd or vim.inspect(cmd)
local commands = type(cmd) == "string" and { cmd } or cmd local commands = type(cmd) == "string" and { cmd } or cmd
---@cast commands string[] ---@cast commands string[]