0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 9.1.1065: no digraph for "Approaches the limit"

Problem:  no digraph for "Approaches the limit"
Solution: Add the digraph using .= (Hans Ginzel)

Add digraph Approaches the Limit

≐ U+2250 https://www.fileformat.info/info/unicode/char/2250/index.htm

closes: #16508

Signed-off-by: Hans Ginzel <hans@matfyz.cz>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Hans Ginzel
2025-02-01 16:15:11 +01:00
committed by Christian Brabandt
parent c078675ac7
commit 3a621188ee
5 changed files with 11 additions and 3 deletions

View File

@@ -997,6 +997,7 @@ static digr_T digraphdefault[] = {
{'?', '=', 0x2245},
{'?', '2', 0x2248},
{'=', '?', 0x224c},
{'.', '=', 0x2250},
{'H', 'I', 0x2253},
{'!', '=', 0x2260},
{'=', '3', 0x2261},

View File

@@ -40,6 +40,9 @@ func Test_digraphs()
" Quadruple prime
call Put_Dig("'4")
call assert_equal("⁗", getline('.'))
" APPROACHES THE LIMIT
call Put_Dig(".=")
call assert_equal("≐", getline('.'))
" Not a digraph
call Put_Dig("a\<bs>")
call Put_Dig("\<bs>a")

View File

@@ -704,6 +704,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1065,
/**/
1064,
/**/