Nested file structure in specified plugins folder #680
Closed
dasupradyumna
started this conversation in
General
Replies: 1 comment 1 reply
-
I'm not planning to add recursive loading to lazy. You can achieve something similar by using So add this to your specs: return {
{import = "plugins.lsp" }
} That will import all the specs under Make sure |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone!
I have been using the manager to maintain a
plugins
directory, which contains all the plugin spec files so far.But as the number of plugins keep increasing, I want to organize related plugin specs into subfolders.
For example, as most users know, having a fully functional LSP environment in NeoVim requires quite a few plugins like mason, nvim-lspconfig, nvim-cmp (and sources), etc.
If possible, I would like it so that the setup (plugin specs) directory is recursively searched for plugin configs, instead of only the top level like it is currently. Or does anyone have a clean workaround for this kind of organization?
Does this belong in discussions or should I open a feature request for this?
Cheers~
Beta Was this translation helpful? Give feedback.
All reactions