From 47416d1a7441f8c815438903e78ba0a2d877699e Mon Sep 17 00:00:00 2001 From: Jonathan Wright Date: Fri, 20 Oct 2023 12:08:09 +0200 Subject: patch 9.0.2056: no digraph for quadruple prime Problem: no digraph for quadruple prime Solution: add quadruple prime digraph using 4' closes: #13380 Signed-off-by: Jonathan Wright Signed-off-by: Christian Brabandt Co-authored-by: Jonathan Wright --- src/digraph.c | 1 + src/testdir/test_digraph.vim | 3 +++ src/version.c | 2 ++ 3 files changed, 6 insertions(+) (limited to 'src') diff --git a/src/digraph.c b/src/digraph.c index fb45c15248..0a4a4a3b41 100644 --- a/src/digraph.c +++ b/src/digraph.c @@ -853,6 +853,7 @@ static digr_T digraphdefault[] = { {'1', '\'', 0x2032}, {'2', '\'', 0x2033}, {'3', '\'', 0x2034}, + {'4', '\'', 0x2057}, {'1', '"', 0x2035}, {'2', '"', 0x2036}, {'3', '"', 0x2037}, diff --git a/src/testdir/test_digraph.vim b/src/testdir/test_digraph.vim index a8a55a793b..4aed403cda 100644 --- a/src/testdir/test_digraph.vim +++ b/src/testdir/test_digraph.vim @@ -37,6 +37,9 @@ func Test_digraphs() call Put_Dig("=P") call Put_Dig("P=") call assert_equal(['Р']+repeat(["₽"],2)+['П'], getline(line('.')-3,line('.'))) + " Quadruple prime + call Put_Dig("'4") + call assert_equal("⁗", getline('.')) " Not a digraph call Put_Dig("a\") call Put_Dig("\a") diff --git a/src/version.c b/src/version.c index 4bdf570248..7584e45fff 100644 --- a/src/version.c +++ b/src/version.c @@ -704,6 +704,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 2056, /**/ 2055, /**/ -- cgit v1.2.3