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: adding 3 or more specs for the same plugin resets dir
even though dev = true
#1328
Comments
dir
when dev = true
dir
even though dev = true
Below is a comparison of 2 specs:
3 specs:
Looking at the outputs above and |
Hi @dixslyf, I can confirm this. You don't have to set the config = {
...
dev = {
patterns = { "tokyonight" }
}
...
} |
Did you check docs and existing issues?
Neovim version (nvim -v)
0.9.5
Operating system/version
NixOS unstable
Describe the bug
When 3 or more specs are added for the same plugin with
dev = true
on one of the specs, the plugin'sdir
is reset to~/.local/share/nvim/lazy/<plugin>
rather than set to underdev.path
.When there are only 1 or 2 specs for the plugin, it works as expected.
Steps To Reproduce
dev = true
for the first spec for a plugin.dev.path
— this is expected sincedev = true
causeslazy.nvim
to search for the plugin underdev.path
.lazy.nvim
no longer searches underdev.path
, but instead searches~/.local/share/nvim/lazy
. It will clone the plugin into that directory if it's configured to install missing plugins.Expected Behavior
lazy.nvim
should still search for the plugin underdev.path
whendev = true
is set for one of the specs no matter how many specs are defined for a plugin, rather than~/.local/share/nvim/lazy
.Repro
The text was updated successfully, but these errors were encountered: