aboutsummaryrefslogtreecommitdiff
path: root/CONTRIBUTING.md
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-05-02 20:11:58 +0800
committerGitHub <noreply@github.com>2024-05-02 20:11:58 +0800
commitcb2a36bb5fce1ad105212a12ea71c1bbe76fdc7c (patch)
tree2285a62df17352fc2d4acf66906d91fe7b8776fb /CONTRIBUTING.md
parent089c8d033d82aadec203c66d4127d0042d7d76bc (diff)
downloadrneovim-cb2a36bb5fce1ad105212a12ea71c1bbe76fdc7c.tar.gz
rneovim-cb2a36bb5fce1ad105212a12ea71c1bbe76fdc7c.tar.bz2
rneovim-cb2a36bb5fce1ad105212a12ea71c1bbe76fdc7c.zip
docs(CONTRIBUTING): mention process of changing ft detection (#28598)
Diffstat (limited to 'CONTRIBUTING.md')
-rw-r--r--CONTRIBUTING.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 6c7066c087..e2533f740f 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -11,7 +11,8 @@ low-risk/isolated tasks:
- Fix bugs found by [Coverity](#coverity).
- [Merge a Vim patch] (requires strong familiarity with Vim)
- NOTE: read the above link before sending improvements to "runtime files" (anything in `runtime/`).
- - Vimscript and documentation files are (mostly) maintained by [Vim](https://github.com/vim/vim), not Nvim.
+ - Vimscript and documentation files are (mostly) maintained by [Vim], not Nvim.
+ - Nvim's [filetype detection](https://github.com/neovim/neovim/blob/master/runtime/lua/vim/filetype.lua) behavior matches Vim, so changes to filetype detection should be submitted to [Vim] first.
- Lua files are maintained by Nvim.
Reporting problems
@@ -352,6 +353,7 @@ as context, use the `-W` argument as well.
[Cirrus CI]: https://cirrus-ci.com/github/neovim/neovim
[Clang report]: https://neovim.io/doc/reports/clang/
[GitHub Actions]: https://github.com/neovim/neovim/actions
+[Vim]: https://github.com/vim/vim
[clangd]: https://clangd.llvm.org
[Merge a Vim patch]: https://neovim.io/doc/user/dev_vimpatch.html
[complexity:low]: https://github.com/neovim/neovim/issues?q=is%3Aopen+is%3Aissue+label%3Acomplexity%3Alow