-
Notifications
You must be signed in to change notification settings - Fork 361
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feature: Provide indication in :Lazy
modal that shows when local plugins are used vs not
#1802
Comments
The So, both options indicate the use of a local plugin and if you want to use the remote repo, then you should just comment them both out. Relevant sources: https://lazy.folke.io/spec#spec-source and https://lazy.folke.io/configuration |
Thanks @dpetka2001 , I hadn't seen the I think my confusion mostly stems from the fact that I think a different color being used next to a plugin would indicate that a local version is being used. Because right now, there's a different color displayed regardless of whether a local plugin is being used, and there could be a variety of reasons its not, including:
I guess the behavior isn't that hard to remember once you're aware of if it, it just doesn't seem as intuitive as I think it could be (personally) |
Are you sure your local plugin is not being used? What does it show in Lazy UI if you go with your cursor on the plugin and press The problem about |
Actually, I apologize, I had misread your earlier comment. It looks like setting My misunderstanding stemmed from thinking that Thanks for the quick response and for the patience on this user error 😬 |
No reason to apologize. I'm just happy to help a fellow user like I am myself 😄 |
Did you check the docs?
Is your feature request related to a problem? Please describe.
Thanks for making this plugin!
lazy.nvim
has been incredibly easy to use and massively helpful in my development workflow.Feature Request
It seems like when you run
:Lazy
there are different colors that are supposed to indicate whether or not you are using a plugin locally or one downloaded from a remote source like GitHub. In my case, downloaded plugins have an orange circle and local ones have a pink circle.I think this is helpful, but I've noticed a couple issues with this:
dir
property setdir
points to a non-existent folder on your filesystemdir
property set in my plugin configuration, but comment out thedev = true
property, so I can use the remote version in most cases, but use my local version when I need to debug something (by uncommenting thedev = true
line.I would expect that the circle would be colored orange in this case, because I'm using the remote version of the plugin, but it still remains the "local" color, which I feel like it gives users the wrong idea that a local plugin is being used when it may not be.
Describe the solution you'd like
I think it would make more sense for:
dir
property of a plugin configurationdir
property points to an existent folderdev
property of a plugin configuration is set totrue
false
Describe alternatives you've considered
N/A
Additional context
The screenshot below shoes that the
codeium.vim
entry has a pink circle next to it, when I think it should be orange to indicate that this local plugin is not being used (in this case, because I havedev = false
for this plugin)The text was updated successfully, but these errors were encountered: