Skip to content

Update branch name in documentation #1996

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

Closed
wants to merge 1 commit into from
Closed

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