Skip to content

Latest commit

 

History

History
82 lines (52 loc) · 2.7 KB

CONTRIBUTING.md

File metadata and controls

82 lines (52 loc) · 2.7 KB

How to Contribute? ✍

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:

  1. When we started using mason, the lsp folder structure changed.

  2. 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
  1. nerdfonts v3.0 requires some updated icons.

  2. plugins could probably be re-pinned to later versions (like the later pinned versions used in nvim-basic-ide with Neovim v0.9).

1. Fork the Project 🍴

Click on Fork. Uncheck Copy the master branch only to get all the branches.

forked

Clone to your machine 🤖

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

3. Create a new branch 🌵

Give it a name git branch my11-gitsigns

4. Start hacking 🪄

git checkout my11-gitsigns
nvim

5. Test and re-test 🔬

:wq
nvim ~/.config/nvim

6. Push to your fork on Github ✋

git add .
git commit -m "replace outdated GitSigns icons"
git push origin mygitsigns-11

7. Open PR 🎁

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