mirror of
https://github.com/kristoferssolo/telescope-frecency.nvim.git
synced 2025-10-21 20:10:38 +00:00
feat: add healthcheck for rg/fdfind/fd (#173)
This commit is contained in:
parent
ada91ca486
commit
a61ede8740
@ -8,6 +8,15 @@ return require("telescope").register_extension {
|
|||||||
else
|
else
|
||||||
vim.health.info "nvim-web-devicons is not installed."
|
vim.health.info "nvim-web-devicons is not installed."
|
||||||
end
|
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,
|
end,
|
||||||
exports = {
|
exports = {
|
||||||
frecency = frecency.start,
|
frecency = frecency.start,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user