]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.1640: Unicode has deprecated some code-points v9.1.1640
authorDavid Friant <friant@HPEnvyx360.friant.dev>
Sat, 16 Aug 2025 16:30:55 +0000 (18:30 +0200)
committerChristian Brabandt <cb@256bit.org>
Sat, 16 Aug 2025 16:33:05 +0000 (18:33 +0200)
commitc08b94b072588d69e0fe76bc93dcd1d8c46be469
tree430a91f132aa51024d37feaae948edfab0e23fa8
parent1e38198a413f7235c909ccd0d55b339a3e920615
patch 9.1.1640: Unicode has deprecated some code-points

Problem:  Unicode has deprecated some code-points
Solution: Update the digraph tables to align with the Unicode v16
          release (David Friant)

This commit updates the digraphs Left-Pointing Angle Bracket '</'
and Right-Pointing Angle Bracket '/>' to account for the fact that
the old Unicode codepoints for them (2329 and 232A, respectively)
have been deprecated. As per the Miscellaneous Technical code chart
(https://www.unicode.org/charts/PDF/U2300.pdf), the old digraphs
have been reassigned to the CJK Left Angle Bracket and Right Angle
Bracket (3008 and 3009) with their declaration moved to the
appropriate block.

This commit also introduces the new digraphs '<[' and ']>' to
represent the Mathematical Left Angle Bracket and Mathematical
Right Angle Bracket (27E8 and 27E9) to replace the deprecated code
points in the Technical block.

Tests have been added and, I believe, the documentation has been
updated accordingly.

closes: #17990

Signed-off-by: David Friant <friant@HPEnvyx360.friant.dev>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/doc/digraph.txt
runtime/doc/version9.txt
src/digraph.c
src/testdir/test_digraph.vim
src/version.c