]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.1764: filetype: CODEOWNERS file not recognized v9.1.1764
authorJon Parise <jon@indelible.org>
Mon, 15 Sep 2025 19:35:47 +0000 (19:35 +0000)
committerChristian Brabandt <cb@256bit.org>
Mon, 15 Sep 2025 19:35:47 +0000 (19:35 +0000)
commit817e4d3ee6b051477596ba1d86a2631d9fabc95b
tree548d8a42d1be979180560711023222e792141831
parenta946ccf5ffdb7bbc2631c5cbebde18b75a5e284b
patch 9.1.1764: filetype: CODEOWNERS file not recognized

Problem:  filetype: CODEOWNERS file not recognized
Solution: Detect CODEOWNERS file as codeowners filetype, include a
          syntax and filetype plugin (Jon Parise).

CODEOWNERS files define code ownership rules for GitHub-hosted (and
other) repositories. The syntax is similar to 'gitignore' files but
differs in enough ways to warrant its own filetype.

References:
- https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners

closes: #18299

Signed-off-by: Jon Parise <jon@indelible.org>
Signed-off-by: Christian Brabandt <cb@256bit.org>
.github/MAINTAINERS
runtime/filetype.vim
runtime/ftplugin/codeowners.vim [new file with mode: 0644]
runtime/syntax/codeowners.vim [new file with mode: 0644]
runtime/syntax/testdir/dumps/codeowners_00.dump [new file with mode: 0644]
runtime/syntax/testdir/input/codeowners.txt [new file with mode: 0644]
src/testdir/test_filetype.vim
src/version.c