Skip to content

Conversation

@breadtk
Copy link

@breadtk breadtk commented May 23, 2025

Description

The installation documentation incorrectly points to the stable branch in the example. However, if you look at the lazy.nvim list of branches, you won't find a stable branch[1]. This commit changes the example to point to main branch, which does exist[2].

[1] https://github.com/folke/lazy.nvim/branches/all?query=stable
[2] https://github.com/folke/lazy.nvim/branches/all?query=main

Without this, a user who incorrectly uses the stable branch instead of main will get the error fatal: couldn't find remote ref refs/heads/stable will pop-up when executing :Lazy sync.

Found the issue whilst doing a local :Lazy sync troubleshooting. However, I ran into the issue described in #1971, which means updating my own local lazy.lua (from the example) did nothing. I ended up solving the problem by blowing away Lazy altogether via: rm -rf ~/.local/share/nvim/lazy/lazy.nvim.

Related Issue(s)

This is directly related to #1971, which was incorrectly closed due to inactivity.

The documentation incorrectly points to the `stable` branch in the example. However, if you look at the lazy.nvim list of branches, you won't find a `stable` branch[1]. This commit changes the example to point to `main` branch, which does exist [2]

[1] https://github.com/folke/lazy.nvim/branches/all?query=stable
[2] https://github.com/folke/lazy.nvim/branches/all?query=main
@breadtk breadtk closed this by deleting the head repository Jun 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant