Skip to content

:checkhealth telescope._extensions.repo error #77

@mimikun

Description

@mimikun

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions