Skip to content

feature: auto plugin config generator #2019

@asakura42

Description

@asakura42

Did you check the docs?

  • I have read all the lazy.nvim docs

Is your feature request related to a problem? Please describe.

I love the logic, code and idea itself behind the lazy.nvim project. But I love testing various neovim plugins, so writing *.lua file for the bunch of plugins I maybe never will use sounds tedious for me. I found that lazy.nvim is nice at defaults, but most of the time I need the command to run, I find that the plugin is unloaded, so I should write manually "lazy false" in config for it to start.

Anyway, I don't want to disable lazyload by default.

Describe the solution you'd like

Something that fetches cmds, keys, filetypes etc without loading the plugin - just "in case"!

Describe alternatives you've considered

I wrote a simple stupid script that fetches cmds, keys and all the things and creates lines for plugins/init.lua file. Here it is: https://gist.github.com/asakura42/4cfcec23eed5c4a30a69d90a52e8285c

It takes a owner/repo string or a txt file with owner/repo list after -f flag.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions