feat: add healthcheck for rg/fdfind/fd (#173)

This commit is contained in:
JINNOUCHI Yasushi 2024-01-31 08:45:26 +09:00 committed by GitHub
parent ada91ca486
commit a61ede8740
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -8,6 +8,15 @@ return require("telescope").register_extension {
else
vim.health.info "nvim-web-devicons is not installed."
end
if vim.fn.executable "rg" == 1 then
vim.health.ok "ripgrep installed."
elseif vim.fn.executable "fdfind" == 1 then
vim.health.ok "fdfind installed."
elseif vim.fn.executable "fd" == 1 then
vim.health.ok "fd installed."
else
vim.health.info "No suitable find executable found."
end
end,
exports = {
frecency = frecency.start,