Can't install
albertfgu opened this issue · 2 comments
albertfgu commented
I'm using LazyVim and installed the plugin using the described method. Running :Telescope lazy
gives the message "ERROR [telescope.run_command]: Unknown command"
Reproduction:
- Follow https://www.lazyvim.org/installation for fresh installation of LazyVim
- Add telescope-lazy
- Attempt to use telescope-lazy
tsakirist commented
This is probably because you have not registered the extension in the telescope module during setup.
For example using LazyVimStarter as the starter template, do the following:
- Create a new file
telescope_lazy.lua
in theplugins
directory - Put the following contents inside:
return {
"tsakirist/telescope-lazy.nvim",
dependencies = "nvim-telescope/telescope.nvim",
config = function()
require("telescope").load_extension("lazy")
-- Can possible add other configuration as described in the README.md
end,
}
- Use
:Telescope lazy
it should work now
Does that fix your issue?
albertfgu commented
You were right, I didn't load the extension in config
and was trying to load it elsewhere. Thank you so much!