-
Notifications
You must be signed in to change notification settings - Fork 293
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
bug: The url is overwritten after the merge of the same plugin spec. #1191
Comments
tbh I would expect that as a user |
I know the order of spec is important to lazy.nvim, but I think some option shouldn't be overwritten, etc url. Because the same plugin spec may locate in different files. If Not necessary, I would close this issue. |
I'd exactly expect url to be one of the ones that get overwritten |
There is no problem that overwrite the url, but a real value shouldn't be overwritten by nil. Anyway, good work about lazy.nvim, this is a great package manager. |
As said before: I'd expect that to be the behavior |
lazy.nvim/lua/lazy/core/plugin.lua Line 536 in 9658486
this line force the 'folke/lazy.nvim' clone from 'https://github.com/folke/lazy.nvim'. But in China, it is difficult to access github. I expect: Config.spec:parse({ { "folke/lazy.nvim" }, vim.deepcopy(Config.options.spec) }) THEN I can use my own mirror url to clone 'lazy.nvim'. |
Did you check docs and existing issues?
Neovim version (nvim -v)
0.9.4
Operating system/version
Arch Linux
Describe the bug
the same as title
Steps To Reproduce
init.lua
lazy.nvim clone the
folke/which-key.nvim
fromhttps://github.com/folke/which-key.nvim.git
Expected Behavior
expect that lazy.nvim clone the
folke/which-key.nvim
fromhttps://gitee.com/sunn4github/which-key.nvim.git
Repro
No response
The text was updated successfully, but these errors were encountered: