polirritmico / telescope-lazy-plugins.nvim

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

LazyVim distribution is not found as a plugin. #4

Closed lkhphuc closed 6 months ago

lkhphuc commented 6 months ago

I am using LazyVim distribtion with this config in nvim/lua/config/lazy.lua:

require("lazy").setup({
  spec = {
    {
      "LazyVim/LazyVim",
      -- dev = true,
      import = "lazyvim.plugins",
      opts = { colorscheme = "catppuccin" }
    },
    { import = "plugins" },
  },
...

Using the default option, this plugin does not find LazyVim as a plugin itself, even though it can find the configuration of other plugins defined inside LazyVim. It's not a big problem since all I want is to check the options.lua of LazyVim. Currently I can do so by selecting a different plugin that is defined by LazyVim then fuzzy search other file in the same local folder.

polirritmico commented 6 months ago

Hi @lkhphuc, thanks for reporting the issue and using the plugin!

At first, I consider this out of scope since LazyVim is a configuration and not a plugin per se... But, I understand that it could be very handy in some configurations. So, instead of adding support for LazyVim, NvChad, AstroNvim, etc., I'm going to add an option to allow custom entries from the user and maybe some configuration snippets in the documentation.

Would you consider that approach to be OK for this use case?

lkhphuc commented 6 months ago

That would be great.

polirritmico commented 6 months ago

Closed by #5