]> git.ipfire.org Git - thirdparty/vim.git/commit
runtime(cangjie): Fixes and improvements for syntax script
authorWu Junkai <wujunkai20041123@outlook.com>
Sun, 12 Oct 2025 14:10:34 +0000 (14:10 +0000)
committerChristian Brabandt <cb@256bit.org>
Sun, 12 Oct 2025 14:10:34 +0000 (14:10 +0000)
commit37c8ce7fac3b60457382aeb7573766177e4df269
tree9c22aec4e72bad864ac1b2c489355184dc1c30c4
parent6800da6ff115014aa71fdd396cd1496ea0da6509
runtime(cangjie): Fixes and improvements for syntax script

Housekeeping:
- Add GitHub repository link
- Update Last Change date

Style:
- Add Vim modeline for consistent formatting
- Unify indentation style (spaces to tabs)
- Wrap long cluster definitions for readability

New Features:
- Add highlighting for escape sequences
- Add error highlighting for invalid rune literals
- Add syntax-based folding support

Fixes:
- Fix rune matching to allow only a single character/escape
- Fix highlighting for double-quoted rune literals
- Fix highlighting for floats with exponents and type suffixes

Co-authored-by: dkearns <dougkearns@gmail.com>
Signed-off-by: Wu Junkai <wujunkai20041123@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/syntax/cangjie.vim