runtime(cangjie): Update syntax script

Commit: 
https://github.com/vim/vim/commit/77a59be594f372ceef87b8c423660d1f5dbb5854
Author: Neila <[email protected]>
Date:   Tue Jan 6 10:18:09 2026 +0000

    runtime(cangjie): Update syntax script
    
    This commit updates `syntax/cangjie.vim` to match the latest `std.core`
    library:
    
    New Features:
    * Documentation: Added highlighting for documentation keywords (e.g., 
`@param`, `@return`).
    * Standard Library: Added highlighting for `std.core` functions, 
interfaces, and classes.
    * Exceptions: Added highlighting for standard exception types.
    * FFI Support: Added highlighting for C interoperability types (e.g., 
`CPointer`).
    
    Improvements:
    * Configuration: Added a unified switch (`s:enabled('builtin')`) for 
standard library highlighting.
    * Type System: Updated `Int` and `UInt` aliases.
    * Interpolation: Enabled standard library highlighting inside string 
interpolation.
    * Cleanup: Removed non-core types like `ArrayList` and `HashMap`.
    
    closes: #19085
    
    Signed-off-by: Neila <[email protected]>
    Signed-off-by: Christian Brabandt <[email protected]>

diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt
index 236340dae..700d51c21 100644
--- a/runtime/doc/syntax.txt
+++ b/runtime/doc/syntax.txt
@@ -1,4 +1,4 @@
-*syntax.txt*   For Vim version 9.1.  Last change: 2025 Oct 14
+*syntax.txt*   For Vim version 9.1.  Last change: 2026 Jan 06
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -1125,6 +1125,7 @@ new-generation language oriented to full-scenario 
intelligence.
 All highlighting is enabled by default.  To disable highlighting for a
 specific group, set the corresponding variable to 0 in your |vimrc|.
 All options to disable highlighting are: >
+       :let g:cangjie_builtin_color = 0
        :let g:cangjie_comment_color = 0
        :let g:cangjie_identifier_color = 0
        :let g:cangjie_keyword_color = 0
diff --git a/runtime/syntax/cangjie.vim b/runtime/syntax/cangjie.vim
index 1e8b87219..d8194a927 100644
--- a/runtime/syntax/cangjie.vim
+++ b/runtime/syntax/cangjie.vim
@@ -2,7 +2,7 @@
 " Language: Cangjie
 " Maintainer: Wu Junkai <[email protected]>
 " URL: https://github.com/WuJunkai2004/cangjie.vim
-" Last Change: 2025 Oct 12
+" Last Change: 2026 Jan 5
 "
 " The Cangjie programming language is a new-generation programming
 " language oriented to full-scenario intelligence. It features
@@ -33,9 +33,13 @@ endfunction
 syn case match
 
 " 1. comments
-syn keyword cangjieTodo        TODO FIXME XXX NOTE BUG contained
-syn match   cangjieComment / \/\/.*/                   contains=cangjieTodo
-syn region  cangjieComment start=/\/\*/ end=/\*\//     
contains=cangjieTodo,@Spell
+syn keyword    cangjieTodo     TODO FIXME XXX NOTE BUG contained
+syn match      cangjieDocKeyword / 

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/E1vd4KE-00GlgM-DH%40256bit.org.

Raspunde prin e-mail lui