Skip to content

Commit d09be15

Browse files
committed
runtime(doc): Update Contributing.md on the use of AI
Signed-off-by: Christian Brabandt <[email protected]>
1 parent ce16365 commit d09be15

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

CONTRIBUTING.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,15 @@ When merging PRs into Vim, the current maintainer @chrisbra usually adds missing
4646
anybody that explicitly *ACK*s a pull request as a statement that those
4747
approvers are happy with that particular change.
4848

49+
## Using AI
50+
51+
When using AI for contributions, please disclose this. Any AI-generated code
52+
must follow the Vim code style. In particular, [test_codestyle.vim][18]
53+
must not report any failures. Check the CI output for any test failures.
54+
55+
Ensure that changes are properly tested. Do not submit a single PR that
56+
addresses multiple unrelated issues.
57+
4958
# Reporting issues
5059

5160
We use GitHub [issues][17], but that is not a requirement. Writing to the Vim
@@ -160,3 +169,4 @@ mailing list. For other questions please use the [Vi Stack Exchange][8] website,
160169
[15]: https://en.wikipedia.org/wiki/Developer_Certificate_of_Origin
161170
[16]: https://github.com/vim/vim/blob/master/runtime/doc/helphelp.txt
162171
[17]: https://github.com/vim/vim/issues
172+
[18]: https://github.com/vim/vim/blob/master/src/testdir/test_codestyle.vim

0 commit comments

Comments
 (0)