polirritmico / telescope-lazy-plugins.nvim

A Telescope picker to quickly access configurations of plugins managed by lazy.nvim.
MIT License
34 stars 1 forks source link

[Bug] `checkhealth telescope._extensions.lazy_plugins` returns an error #3

Closed pidgeon777 closed 4 months ago

pidgeon777 commented 4 months ago

I see that there is a checkhealth command available:

image

When I run it, the following error is reported:

telescope._extensions.lazy_plugins: require("telescope._extensions.lazy_plugins.health").check()

- ERROR Failed to run healthcheck for "telescope._extensions.lazy_plugins" plugin. Exception:
  [string "require("telescope._extensions.lazy_plugins.h..."]:1: attempt to index a function value
pidgeon777 commented 4 months ago

checkhealth telescope is ok:

==============================================================================
telescope: require("telescope.health").check()

Checking for required plugins ~
- OK plenary installed.
- OK nvim-treesitter installed.

Checking external dependencies ~
- OK rg: found ripgrep 14.1.0 (rev e50df40a19)
- OK fd: found fd 9.0.0

===== Installed extensions ===== ~

Telescope Extension: `aerial` ~
- No healthcheck provided

Telescope Extension: `everything` ~
- No healthcheck provided

Telescope Extension: `fzf` ~
- OK lib working as expected
- OK file_sorter correctly configured
- OK generic_sorter correctly configured

Telescope Extension: `lazy_plugins` ~
- OK Lazy configuration file was found.
- OK Path to Lazy plugins spec table file found.

Telescope Extension: `projects` ~
- No healthcheck provided
polirritmico commented 4 months ago

Hi! Thank you very much for the bug report. Yes, indeed, that check function shouldn't be exposed. As stated in the README, its usage is through :checkhealth telescope.

polirritmico commented 4 months ago

Closed by c9d251d18025468b6649e8489d3b6f3510027f03