Did you check docs and existing issues?
Neovim version (nvim -v)
NVIM v0.11.4
Operating system/version
Debian
Describe the bug
After installing lazy.vim from the latest version/commit of the stable branch, it immediately reports back that updates are available. If a user updates, lazy.vim is taken off of the stable build and put into a 'nightly' build.
Steps To Reproduce
- Follow the 'structured setup' installation, using the provided
lazy.lua configuration.
1a. Create an empty spec in the plugins directory. (lazy.vim breaks without this and it's not documented)
- Launch Neovim
- Run
:Lazy to see the lazy.nvim menu.
Expected Behavior
I should see no plugins installed and a report that lazy.nvim is up-to-date. Instead, it says that there is 1 plugin installed and that lazy.nvim has an update available. Upon closer inspection, it can be seen that the updates pertain to the latest commits from the main branch. If a user updates neovim, they'll effectively be moving from a stable build to a nightly build. This is not desired behavior and it's not clear from the lazy.vim menu that this is happening especially given that the lazy.lua file is explicitly checking out the stable branch.
Repro
vim.env.LAZY_STDPATH = ".repro"
load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()
require("lazy.minit").repro({
spec = {
-- add any other plugins here
},
})
Did you check docs and existing issues?
Neovim version (nvim -v)
NVIM v0.11.4
Operating system/version
Debian
Describe the bug
After installing lazy.vim from the latest version/commit of the stable branch, it immediately reports back that updates are available. If a user updates, lazy.vim is taken off of the stable build and put into a 'nightly' build.
Steps To Reproduce
lazy.luaconfiguration.1a. Create an empty spec in the
pluginsdirectory. (lazy.vim breaks without this and it's not documented):Lazyto see the lazy.nvim menu.Expected Behavior
I should see no plugins installed and a report that lazy.nvim is up-to-date. Instead, it says that there is 1 plugin installed and that lazy.nvim has an update available. Upon closer inspection, it can be seen that the updates pertain to the latest commits from the
mainbranch. If a user updates neovim, they'll effectively be moving from a stable build to a nightly build. This is not desired behavior and it's not clear from the lazy.vim menu that this is happening especially given that thelazy.luafile is explicitly checking out the stable branch.Repro