Local plugins inside nvim config #2003
raoulmillais
started this conversation in
General
Replies: 0 comments
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have a custom setup that has grown over decades and I've been a very happy lazy.nvim customer since it was first released! Something that irks me is I notice logically related groups of options/automcommands/usercommands in my
lua/config/
folderI mostly follow the usual conventions:
init.lua
(only requiresconfig.lazy
) ,lua/config/
(autocommands/options/diagnostics/etc),lua/core
(common utilities),lua/plugins
(plugin specs and configuration). I feel like I could tidy things up further by extracting those logical groupings into plugins. I am not using LazyVim.I do not want to publish these as separate repositories in github - I don't sadly have the bandwidth to maintain and support them other than for my own uses. I also don't want to manage multiple repositories - I'm happy with everything in my
.config/nvim
.So my question is - is there an established pattern for having nvim config local plugins - what are recommended conventions for this? Where do I put them and how do I import them from my
lua/plugins/
folder?Many thanks in advance,
Raoul
Beta Was this translation helpful? Give feedback.
All reactions