-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6a89ffa
commit 8db81c8
Showing
49 changed files
with
3,642 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,161 @@ | ||
# [CONTRIBUTING](https://nvchad.github.io/contribute) | ||
|
||
## NvChad install for contributors | ||
|
||
If you wish to contribute to NvChad, you should: | ||
1. [create a fork on GitHub](https://docs.github.com/en/get-started/quickstart/fork-a-repo) | ||
2. clone your fork to your machine | ||
- For ssh: | ||
```shell | ||
$ git clone git@github.com:<YOUR GITHUB USERNAME>/NvChad.git ~/.config/nvim | ||
``` | ||
- For https: | ||
```shell | ||
$ git clone https://github.com/<YOUR GITHUB USERNAME>/NvChad.git ~/.config/nvim | ||
``` | ||
3. [add a new remote repo to track](https://www.atlassian.com/git/tutorials/git-forks-and-upstreams) | ||
- this means you can push/pull as normal to your own repo, but also easily track & update from the NvChad repo | ||
- for ssh: | ||
```shell | ||
$ git remote add upstream git@github.com:NvChad/NvChad.git | ||
``` | ||
- for https: | ||
```shell | ||
$ git remote add upstream https://github.com/NvChad/NvChad.git | ||
``` | ||
4. any time you create a branch to do some work, use | ||
```shell | ||
$ git fetch upstream && git checkout -b dev-myFEAT upstream/main | ||
``` | ||
5. only use the **--rebase** flag to update your dev branch | ||
- this means that there are no `Merge NvChad/main into devBranch` commits, which are to be avoided | ||
```shell | ||
$ git pull upstream --rebase | ||
``` | ||
|
||
## Things to know before contributing | ||
|
||
- When making a PR (pull request), please be very descriptive about what you've done! | ||
- PR titles should be formatted with 'fix', 'chore' or 'feat'. ex: `feat: add new plugin` | ||
- PRs should follow the pull request formats where applicable | ||
- We are open to all PRs, but may decline some for a myriad of reasons. Though don't be discouraged! We'll still be open to discussions. | ||
- PR's are always welcomed however NvChad aims to be less bloated. So PR's regarding existing plugin's enhancement and creating new features with existing plugins itself ( without adding a new plugin), bug fixes and corrections are more encouraged. | ||
|
||
- NvChad won't keep adding more and more features (like adding new plugins most likely) as requested if they feel unneeded and aren't usable by the majority!! If you think the plugin you want to be added is very useful and many NvChaders would find it useful, then such feature's PR is welcomed! | ||
- But adding specific features like adding config for [wakatime](https://github.com/wakatime/vim-wakatime) etc will be added in this [chad user configs](https://github.com/NvChad/NvChad/wiki/Chad-user-configs). This lets the user select the things only they want ( adding configs from extra configs ). | ||
## How to remove or edit commits from your PR | ||
> You may have been directed here to remove a commit such as a merge commit: `Merge NvChad/main into devBranch` from your PR | ||
> As these commands edit your git history, you may need to **force push** with `git push origin --force` | ||
1. Run the following: | ||
``` | ||
$ git rebase -i HEAD~<NUMBER OF COMMITS TO GO BACK> | ||
``` | ||
<details><summary>Example</summary> | ||
<p> | ||
```shell | ||
$ git rebase -i HEAD~4 | ||
``` | ||
```shell | ||
pick 28b2dcb statusline add lsp status | ||
pick dad9a39 feat: Added lsp radial progress | ||
pick 68f72f1 add clickable btn for exiting nvim | ||
pick b281b53 avoid using q! for quitting vim | ||
# Rebase 52b655b..b281b53 onto 52b655b (4 commands) | ||
# | ||
# Commands: | ||
# p, pick <commit> = use commit | ||
# r, reword <commit> = use commit, but edit the commit message | ||
# e, edit <commit> = use commit, but stop for amending | ||
# s, squash <commit> = use commit, but meld into previous commit | ||
# f, fixup <commit> = like "squash", but discard this commit's log message | ||
# x, exec <command> = run command (the rest of the line) using shell | ||
# b, break = stop here (continue rebase later with 'git rebase --continue') | ||
# d, drop <commit> = remove commit | ||
# l, label <label> = label current HEAD with a name | ||
# t, reset <label> = reset HEAD to a label | ||
# m, merge [-C <commit> | -c <commit>] <label> [# <oneline>] | ||
# . create a merge commit using the original merge commit's | ||
# . message (or the oneline, if no original merge commit was | ||
# . specified). Use -c <commit> to reword the commit message. | ||
# | ||
# These lines can be re-ordered; they are executed from top to bottom. | ||
# | ||
# If you remove a line here THAT COMMIT WILL BE LOST. | ||
# | ||
# However, if you remove everything, the rebase will be aborted. | ||
# | ||
# Note that empty commits are commented out | ||
``` | ||
|
||
</p> | ||
</details> | ||
|
||
2. Change the `pick` commands to whatever you wish, you may wish to `d` `drop` or `e` `edit` a commit. Then save & quit this git file to run it. | ||
|
||
<details><summary>Example</summary> | ||
<p> | ||
|
||
```shell {3,4} | ||
pick 28b2dcb statusline add lsp status | ||
pick dad9a39 feat: Added lsp radial progress | ||
edit 68f72f1 add clickable btn for exiting nvim | ||
d b281b53 avoid using q! for quitting vim | ||
|
||
# Rebase 52b655b..b281b53 onto 52b655b (4 commands) | ||
# | ||
# Commands: | ||
# p, pick <commit> = use commit | ||
# r, reword <commit> = use commit, but edit the commit message | ||
# e, edit <commit> = use commit, but stop for amending | ||
# s, squash <commit> = use commit, but meld into previous commit | ||
# f, fixup <commit> = like "squash", but discard this commit's log message | ||
# x, exec <command> = run command (the rest of the line) using shell | ||
# b, break = stop here (continue rebase later with 'git rebase --continue') | ||
# d, drop <commit> = remove commit | ||
# l, label <label> = label current HEAD with a name | ||
# t, reset <label> = reset HEAD to a label | ||
# m, merge [-C <commit> | -c <commit>] <label> [# <oneline>] | ||
# . create a merge commit using the original merge commit's | ||
# . message (or the oneline, if no original merge commit was | ||
# . specified). Use -c <commit> to reword the commit message. | ||
# | ||
# These lines can be re-ordered; they are executed from top to bottom. | ||
# | ||
# If you remove a line here THAT COMMIT WILL BE LOST. | ||
# | ||
# However, if you remove everything, the rebase will be aborted. | ||
# | ||
# Note that empty commits are commented out | ||
``` | ||
|
||
</p> | ||
</details> | ||
|
||
3. If you picked `drop` you are done, if you picked `edit` then edit your files, then run: | ||
```shell | ||
$ git add <files> | ||
``` | ||
|
||
4. Once you have edited & added your files, run: | ||
```shell | ||
$ git rebase --continue | ||
``` | ||
|
||
5. You will likely need to push using: | ||
```shell | ||
$ git push origin --force | ||
``` | ||
|
||
## Help | ||
For help with contributing and anything else nvChad related join the [discord](https://discord.gg/VyPxsGArXc) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
patreon: siduck | ||
ko_fi: siduck | ||
custom: ["https://www.buymeacoffee.com/siduck", "https://www.paypal.com/paypalme/siduck76"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Describe the bug** | ||
A clear and concise description of what the bug is. | ||
|
||
**To Reproduce** | ||
Steps to reproduce the behavior: | ||
1. Go to '...' | ||
2. Click on '....' | ||
3. Scroll down to '....' | ||
4. See error | ||
|
||
**Expected behavior** | ||
A clear and concise description of what you expected to happen. | ||
|
||
**Screenshots** | ||
If applicable, add screenshots to help explain your problem. | ||
|
||
**Desktop (please complete the following information):** | ||
- Operating System | ||
- Terminal | ||
- Version of Neovim | ||
|
||
**Additional context** | ||
Add any other context about the problem here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: Wiki | ||
url: https://github.com/siduck76/NvChad/wiki | ||
about: "Walks you through how to use and Configure NvChad." | ||
- name: Visit our gitter chat | ||
url: https://gitter.im/neovim-dotfiles/community | ||
about: "A place where we dicuss NvChad related stuff." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Is your feature request related to a problem? Please describe.** | ||
A clear and concise description of what the problem was. | ||
|
||
**Describe the solution you'd like** | ||
A clear and concise description of what you want to happen. | ||
|
||
**Describe alternatives you've considered** | ||
A clear and concise description of any alternative solutions or features you've considered. | ||
|
||
**Additional context** | ||
Add any other context or screenshots about the feature request here. | ||
|
||
**Screenshot** | ||
Maybe a screenshot of the feature |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
|
||
Fixes Issue # (If it doesn't fix an issue then delete this line) | ||
|
||
Features Added: | ||
- Plugin Name (Add links if possible too) | ||
|
||
Reasoning: | ||
List why the feature is needed | ||
|
||
Speed (If applicable): | ||
Show the impact on the speed of nvChad | ||
|
||
Other: | ||
Anything else relevant goes here |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
(Make sure your title is either: 'fix', 'chore', or 'feat' then your title. ex: `fix: add new plugin`) | ||
|
||
Fixes Issue # (If it doesn't fix an issue then delete this line) | ||
|
||
Plugins Added: | ||
- [Plugin Name](Plugin Link) | ||
- [Plugin Name](Plugin Link) | ||
|
||
Reasoning: | ||
List why the plugin(s) should be added | ||
|
||
Speed: | ||
Show the impact on the speed of nvChad | ||
|
||
Other: | ||
Anything else relevant goes here |
Oops, something went wrong.