| Bram Moolenaar | 6017f37 | 2015-09-01 17:50:48 +0200 | [diff] [blame] | 1 | # Contributing to Vim |
| 2 | |
| 3 | Patches are welcome in whatever form. |
| 4 | Discussions about patches happen on the vim-dev maillist. |
| 5 | If you create a pull request on GitHub it will be |
| 6 | forwarded to the vim-dev maillist. You can also send your patch there |
| Bram Moolenaar | 6f33b89 | 2019-08-04 23:22:08 +0200 | [diff] [blame] | 7 | directly. In that case an attachment with a unified diff format is preferred. |
| Bram Moolenaar | 6017f37 | 2015-09-01 17:50:48 +0200 | [diff] [blame] | 8 | Information about the maillist can be found [on the Vim website]. |
| 9 | |
| 10 | [on the Vim website]: http://www.vim.org/maillist.php#vim-dev |
| 11 | |
| Bram Moolenaar | 6f33b89 | 2019-08-04 23:22:08 +0200 | [diff] [blame] | 12 | A pull request has the advantage that it will trigger the Continuous |
| 13 | Integration tests, you will be warned of problems (you can ignore the coverage |
| 14 | warning, it's noisy). |
| 15 | |
| 16 | Please consider adding a test. All new functionality should be tested and bug |
| 17 | fixes should be tested for regressions: the test should fail before the fix and |
| 18 | pass after the fix. Look through recent patches for examples and find help |
| 19 | with ":help testing". The tests are located under "src/testdir". |
| 20 | |
| 21 | Contributions will be distributed with Vim under the Vim license. Providing a |
| 22 | change to be included implies that you agree with this and your contribution |
| 23 | does not cause us trouble with trademarks or patents. There is no CLA to sign. |
| Bram Moolenaar | 6017f37 | 2015-09-01 17:50:48 +0200 | [diff] [blame] | 24 | |
| 25 | |
| 26 | # Reporting issues |
| 27 | |
| 28 | We use GitHub issues, but that is not a requirement. Writing to the Vim |
| 29 | maillist is also fine. |
| 30 | |
| 31 | Please use the GitHub issues only for actual issues. If you are not 100% sure |
| 32 | that your problem is a Vim issue, please first discuss this on the Vim user |
| Bram Moolenaar | 723dd94 | 2019-04-04 13:11:03 +0200 | [diff] [blame] | 33 | maillist. Try reproducing the problem without any of your plugins or settings: |
| Bram Moolenaar | 6017f37 | 2015-09-01 17:50:48 +0200 | [diff] [blame] | 34 | |
| Bram Moolenaar | 723dd94 | 2019-04-04 13:11:03 +0200 | [diff] [blame] | 35 | vim --clean |
| Bram Moolenaar | 6017f37 | 2015-09-01 17:50:48 +0200 | [diff] [blame] | 36 | |
| 37 | If you report an issue, please describe exactly how to reproduce it. |
| 38 | For example, don't say "insert some text" but say what you did exactly: |
| Bram Moolenaar | 5447802 | 2015-09-01 19:50:09 +0200 | [diff] [blame] | 39 | "ahere is some text<Esc>". |
| 40 | Ideally, the steps you list can be used to write a test to verify the problem |
| 41 | is fixed. |
| Bram Moolenaar | 6017f37 | 2015-09-01 17:50:48 +0200 | [diff] [blame] | 42 | |
| 43 | Feel free to report even the smallest problem, also typos in the documentation. |
| 44 | |
| 45 | You can find known issues in the todo file: ":help todo". |
| 46 | Or open [the todo file] on GitHub to see the latest version. |
| 47 | |
| 48 | [the todo file]: https://github.com/vim/vim/blob/master/runtime/doc/todo.txt |
| Bram Moolenaar | b58988b | 2015-09-01 21:25:44 +0200 | [diff] [blame] | 49 | |
| 50 | |
| 51 | # Syntax, indent and other runtime files |
| 52 | |
| 53 | The latest version of these files can be obtained from the repository. |
| 54 | They are usually not updated with numbered patches. |
| 55 | |
| 56 | If you find a problem with one of these files or have a suggestion for |
| 57 | improvement, please first try to contact the maintainer directly. |
| 58 | Look in the header of the file for the name and email address. |
| 59 | |
| 60 | The maintainer will take care of issues and send updates to Bram for |
| 61 | distribution with Vim. |
| 62 | |
| Bram Moolenaar | b477af2 | 2018-07-15 20:20:18 +0200 | [diff] [blame] | 63 | If the maintainer does not respond, contact the vim-dev maillist. |
| 64 | |
| 65 | |
| 66 | # Translations |
| 67 | |
| Bram Moolenaar | 403f3eb | 2019-11-20 22:31:13 +0100 | [diff] [blame] | 68 | Translations of this CONTRIBUTING file: |
| 69 | [Korean](https://github.com/cjw1359/opensource/blob/master/Vim/CONTRIBUTING_ko.md) |
| 70 | |
| Bram Moolenaar | a60e536 | 2019-04-11 13:11:39 +0200 | [diff] [blame] | 71 | Translating messages and runtime files is very much appreciated! These things |
| 72 | can be translated: |
| Bram Moolenaar | a9604e6 | 2018-07-21 05:56:22 +0200 | [diff] [blame] | 73 | * Messages in Vim, see [src/po/README.txt][1] |
| Bram Moolenaar | a60e536 | 2019-04-11 13:11:39 +0200 | [diff] [blame] | 74 | Also used for the desktop icons. |
| Bram Moolenaar | a9604e6 | 2018-07-21 05:56:22 +0200 | [diff] [blame] | 75 | * Menus, see [runtime/lang/README.txt][2] |
| 76 | * Vim tutor, see [runtime/tutor/README.txt][3] |
| 77 | * Manual pages, see [runtime/doc/\*.1][4] for examples |
| Bram Moolenaar | a60e536 | 2019-04-11 13:11:39 +0200 | [diff] [blame] | 78 | * Installer, see [nsis/lang/\*.nsi][5] for examples |
| Bram Moolenaar | b477af2 | 2018-07-15 20:20:18 +0200 | [diff] [blame] | 79 | |
| 80 | The help files can be translated and made available separately. |
| 81 | See https://www.vim.org/translations.php for examples. |
| Bram Moolenaar | a9604e6 | 2018-07-21 05:56:22 +0200 | [diff] [blame] | 82 | |
| 83 | [1]: https://github.com/vim/vim/blob/master/src/po/README.txt |
| 84 | [2]: https://github.com/vim/vim/blob/master/runtime/lang/README.txt |
| 85 | [3]: https://github.com/vim/vim/blob/master/runtime/tutor/README.txt |
| 86 | [4]: https://github.com/vim/vim/blob/master/runtime/doc/vim.1 |
| Bram Moolenaar | a60e536 | 2019-04-11 13:11:39 +0200 | [diff] [blame] | 87 | [5]: https://github.com/vim/vim/blob/master/nsis/lang/english.nsi |