-
Notifications
You must be signed in to change notification settings - Fork 365
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: Using url to specify plugin results in error, version 9.3.1 #421
Comments
it works if you remove the {
url = "https://github.com/sainnhe/gruvbox-material.git"
} I also couldn't find anything that looks like what you did in the docs |
Thanks - for some reason I interpreted that first string as being used as the short plugin name if the full URL is provided to override the derived URL. Perhaps it's because Packer uses the one [1] item for both full urls and short urls and so I had the misconception it was mandatory. When converting from a packer config I added the url key and left the 'short url' item. I suppose the error message could be improved and misconfiguration better detected, but this is quite a minor issue. Maybe one of the examples could use a vanilla url type spec if I were to be pedantic. |
|
@folke my thinking was it would be ignored because the full URL was provided (my actual URL is not a github url). It's my mistake for thinking the 'short url' was a combo name/short-url. So even if the short url was valid the actual error is that both url and short-url were specified. |
Did you check docs and existing issues?
Neovim version (nvim -v)
0.8.0
Operating system/version
Linux
Describe the bug
Specifying a plugin using 'url' syntax results in the error:
Error detected while processing /xx/repro.lua:
Plugin spec for gruvbox-material not found.
Steps To Reproduce
See repro.lua
Expected Behavior
Behaviour should match lazy.nvim 9.3.0 - no error.
Repro
The text was updated successfully, but these errors were encountered: