]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.1647: filetype: Cangjie files are not recognized v9.1.1647
authorWuJunkai2004 <wujunkai20041123@outlook.com>
Mon, 18 Aug 2025 18:53:34 +0000 (20:53 +0200)
committerChristian Brabandt <cb@256bit.org>
Mon, 18 Aug 2025 18:53:34 +0000 (20:53 +0200)
commit0c4405a6b2bc4d93c127e1b66da1b93dcfbbe3db
tree51e08fc98df92770b53eeafde65ebc29c418c8f8
parenta2f13bf782f723e116c5d4cc7d79a23e918a24db
patch 9.1.1647: filetype: Cangjie files are not recognized

Problem:  filetype: Cangjie files are not recognized
Solution: Detect *.cj files as cangjie filetype, include a syntax plugin
          (WuJunkai2004)

This commit introduces a new syntax highlighting file for the Cangjie
programming language, includes 4 parts as required:
- The main syntax file: runtime/syntax/cangjie.vim
- The filetype detection rule in: runtime/filetype.vim
- The documentation update in: runtime/doc/syntax.txt
- Some menus

References:
- https://gitcode.com/Cangjie
- https://cangjie-lang.cn/

fixes: 18014
closes: #18027

Signed-off-by: WuJunkai2004 <wujunkai20041123@outlook.com>
Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
.github/MAINTAINERS
runtime/doc/syntax.txt
runtime/doc/tags
runtime/filetype.vim
runtime/makemenu.vim
runtime/synmenu.vim
runtime/syntax/cangjie.vim [new file with mode: 0644]
src/testdir/test_filetype.vim
src/version.c