telescope-repo.nvim
telescope-repo.nvim copied to clipboard
`:checkhealth telescope._extensions.repo` error
minimal reproduce config:
for name, url in pairs({
plenary_nvim = "https://github.com/nvim-lua/plenary.nvim",
telescope_nvim = "https://github.com/nvim-telescope/telescope.nvim",
telescope_repo_nvim = "https://github.com/cljoly/telescope-repo.nvim",
}) do
local install_path = vim.fn.fnamemodify("nvim_issue/" .. name, ":p")
if vim.fn.isdirectory(install_path) == 0 then
vim.fn.system({ "git", "clone", "--depth=1", url, install_path })
end
vim.opt.runtimepath:append(install_path)
end
local telescope = require("telescope")
telescope.setup({
extensions = {
repo = {},
},
})
telescope.load_extension("repo")
error message:
==============================================================================
telescope._extensions.repo: require("telescope._extensions.repo.health").check()
- ERROR Failed to run healthcheck for "telescope._extensions.repo" plugin. Exception:
...ope_repo_nvim//lua/telescope/_extensions/repo/health.lua:102: attempt to call field 'report_ok' (a nil value)