Using lazy.nvim to manage non Neovim related repositories 🤔 #1488
Replies: 3 comments 6 replies
-
That's pretty cool indeed! Never thought of that :) |
Beta Was this translation helpful? Give feedback.
-
I also opened this topic with the very same idea: I didn't know this topic existed at first. Anyway, I was wondering if this will be a built-in feature, or some hacks may still be needed. Also, is the |
Beta Was this translation helpful? Give feedback.
-
Additionally, if I understand correctly, with the above setup the repository will be downloaded into the |
Beta Was this translation helpful? Give feedback.
-
I have found out that lazy.nvim can also be used to manage git repositories that are not related to neovim in any way. I'm not sure if this is supported intentionally, but I find it quite useful.
The way it works is the following:
add a lazy.nvim specification for the repo to your config
run
:Lazy
to install the pluginlater on, run
:Lazy
to update the plugin, etc.the repo is now available on your system for whatever you need it for
With lazy.nvim, I can benefit from the following features:
Some fun use cases include:
This seems to be working well, but I'm not sure what to make of it. Am I missing something obvious, is this a bad idea? Are there better options available?
I'm interested in hearing your (anyone's) thoughts.
Beta Was this translation helpful? Give feedback.
All reactions