There are currently errors showing up in some branches some of the time (currently>=08-treesitter
) due to plugin updates to names, patterns
and options
. When a plugin updates, instructions can be found in it's vimdoc (usually kept in doc/), README, or by searching through Issues and unmerged Pull Requests of the project page.
If you want to fix a branch with errors, it can be as mundane as taking the fixes already made in master
and re-applying them. It's up to the community if you want update the branches. On the plus side, it's a good way to practice being a nerd 🤓
For example:
-
When we started using mason, the lsp folder structure changed.
-
the dreaded
[nvim-cmp] Please use window.documentation = cmp.config.window.bordered() instead.
-- and
cmp_nvim_lsp.update_capabilities is deprecated, use cmp_nvim_lsp.default_capabilities instead. See :h depr
ecated
-
nerdfonts v3.0 requires some updated icons.
-
plugins could probably be re-pinned to later versions (like the later pinned versions used in nvim-basic-ide with Neovim v0.9).
Click on Fork
. Uncheck Copy the master branch only
to get all the branches.
Clone your repository (back up your current nvim config first!). Typically:
git clone [email protected]:mygithandle/Neovim-from-scratch.git ~/.config/nvim
If you created the fork sometime in the past, you want to make sure it is up-to-date with any recent changes. Smash the Sync Fork
button on your project page, or do it from the commandline. Say you're working on a certain branch.
git remote add upstream [email protected]:LunarVim/Neovim-from-scratch.git
git fetch upstream
git checkout 11-gitsigns
git merge upstream/11-gitsigns
Give it a name
git branch my11-gitsigns
git checkout my11-gitsigns
nvim
:wq
nvim ~/.config/nvim
git add .
git commit -m "replace outdated GitSigns icons"
git push origin mygitsigns-11
When the new branch on your fork is ready to publish, click the Contribute
button on your forks' project page and select the Open pull request
option from the drop-down. Select the branch you're working on.
Making a pull request, be sure to reference any Issue #
or other PR #
in the description.
Hurray! You've just made a valuable contribution! 🥳🎉
Thank You