annotate src/digraph.c @ 17372:b9bc47742df6

Update runtime files commit https://github.com/vim/vim/commit/396e829fa355ebc92a618ef18266a3fed71b7042 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jul 13 23:04:31 2019 +0200 Update runtime files
author Bram Moolenaar <Bram@vim.org>
date Sat, 13 Jul 2019 23:15:05 +0200
parents 40c4cb095d53
children 0f7ae8010787
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10042
4aead6a9b7a9 commit https://github.com/vim/vim/commit/edf3f97ae2af024708ebb4ac614227327033ca47
Christian Brabandt <cb@256bit.org>
parents: 9719
diff changeset
1 /* vi:set ts=8 sts=4 sw=4 noet:
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 *
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 * VIM - Vi IMproved by Bram Moolenaar
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 *
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 * Do ":help uganda" in Vim to read copying and usage conditions.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 * Do ":help credits" in Vim to see a list of people who contributed.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 * See README.txt for an overview of the Vim source code.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 /*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 * digraph.c: code for digraphs
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 #include "vim.h"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 #if defined(FEAT_DIGRAPHS) || defined(PROTO)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 typedef int result_T;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 typedef struct digraph
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 char_u char1;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 char_u char2;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 result_T result;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 } digr_T;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
27 static void printdigraph(digr_T *dp, result_T *previous);
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 /* digraphs added by the user */
1869
720a59d79bcd updated for version 7.2-168
vimboss
parents: 1624
diff changeset
30 static garray_T user_digraphs = {0, 0, (int)sizeof(digr_T), 10, NULL};
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 /*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 * Note: Characters marked with XX are not included literally, because some
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 * compilers cannot handle them (Amiga SAS/C is the most picky one).
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 */
298
f9de3e679a04 updated for version 7.0078
vimboss
parents: 274
diff changeset
36 static digr_T digraphdefault[] =
15595
1ec942f1b648 patch 8.1.0805: too many #ifdefs
Bram Moolenaar <Bram@vim.org>
parents: 15470
diff changeset
37
8212
05b88224cea1 commit https://github.com/vim/vim/commit/48e330aff911be1c798c88a973af6437a8141fce
Christian Brabandt <cb@256bit.org>
parents: 7817
diff changeset
38 #ifdef __MINT__
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 /*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 * ATARI digraphs
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 {{'C', ',', 128}, /* ~@ XX */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 {'u', '"', 129}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 {'e', '\'', 130}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 {'a', '^', 131}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 {'a', '"', 132}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47 {'a', '`', 133}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 {'a', '@', 134}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 {'c', ',', 135}, /* ~G XX */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 {'e', '^', 136}, /* ~H XX */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51 {'e', '"', 137}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52 {'e', '`', 138}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53 {'i', '"', 139}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 {'i', '^', 140}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55 {'i', '`', 141}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 {'A', '"', 142}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57 {'A', '@', 143}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58 {'E', '\'', 144}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59 {'a', 'e', 145}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60 {'A', 'E', 146}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61 {'o', '^', 147}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62 {'o', '"', 148}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63 {'o', '`', 149}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64 {'u', '^', 150}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65 {'u', '`', 151}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66 {'y', '"', 152}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67 {'O', '"', 153}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68 {'U', '"', 154}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69 {'c', '|', 155}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 {'$', '$', 156}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71 {'Y', '-', 157}, /* ~] XX */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72 {'s', 's', 158}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73 {'f', 'f', 159}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
74 {'a', '\'', 160}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
75 {'i', '\'', 161}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76 {'o', '\'', 162}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77 {'u', '\'', 163}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
78 {'n', '~', 164}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79 {'N', '~', 165}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80 {'a', 'a', 166}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
81 {'o', 'o', 167}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
82 {'~', '?', 168}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
83 {'-', 'a', 169}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
84 {'a', '-', 170}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
85 {'1', '2', 171}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86 {'1', '4', 172}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87 {'~', '!', 173}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88 {'<', '<', 174}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
89 {'>', '>', 175}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90 {'j', 'u', 230}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
91 {'o', '/', 237}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
92 {'+', '-', 241}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
93 {'>', '=', 242}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
94 {'<', '=', 243}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
95 {':', '-', 246}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
96 {'~', '~', 247}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
97 {'~', 'o', 248}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
98 {'2', '2', 253}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
99 {NUL, NUL, NUL}
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
100 };
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
101
8212
05b88224cea1 commit https://github.com/vim/vim/commit/48e330aff911be1c798c88a973af6437a8141fce
Christian Brabandt <cb@256bit.org>
parents: 7817
diff changeset
102 #else /* !__MINT__ */
05b88224cea1 commit https://github.com/vim/vim/commit/48e330aff911be1c798c88a973af6437a8141fce
Christian Brabandt <cb@256bit.org>
parents: 7817
diff changeset
103 # ifdef HPUX_DIGRAPHS
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
104
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
105 /*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
106 * different HPUX digraphs
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
107 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
108 {{'A', '`', 161}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
109 {'A', '^', 162}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
110 {'E', '`', 163}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
111 {'E', '^', 164}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
112 {'E', '"', 165}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
113 {'I', '^', 166}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
114 {'I', '"', 167}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
115 {'\'', '\'', 168}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
116 {'`', '`', 169}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
117 {'^', '^', 170}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
118 {'"', '"', 171}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
119 {'~', '~', 172}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
120 {'U', '`', 173}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
121 {'U', '^', 174}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
122 {'L', '=', 175}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
123 {'~', '_', 176}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
124 {'Y', '\'', 177}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
125 {'y', '\'', 178}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
126 {'~', 'o', 179}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
127 {'C', ',', 180}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
128 {'c', ',', 181}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
129 {'N', '~', 182}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
130 {'n', '~', 183}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
131 {'~', '!', 184}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
132 {'~', '?', 185}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
133 {'o', 'x', 186}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
134 {'L', '-', 187}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
135 {'Y', '=', 188}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
136 {'p', 'p', 189}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
137 {'f', 'l', 190}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
138 {'c', '|', 191}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
139 {'a', '^', 192}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
140 {'e', '^', 193}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
141 {'o', '^', 194}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
142 {'u', '^', 195}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
143 {'a', '\'', 196}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
144 {'e', '\'', 197}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
145 {'o', '\'', 198}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
146 {'u', '\'', 199}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
147 {'a', '`', 200}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
148 {'e', '`', 201}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
149 {'o', '`', 202}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
150 {'u', '`', 203}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
151 {'a', '"', 204}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
152 {'e', '"', 205}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
153 {'o', '"', 206}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
154 {'u', '"', 207}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
155 {'A', 'o', 208}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
156 {'i', '^', 209}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
157 {'O', '/', 210}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
158 {'A', 'E', 211}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
159 {'a', 'o', 212}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
160 {'i', '\'', 213}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
161 {'o', '/', 214}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
162 {'a', 'e', 215}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
163 {'A', '"', 216}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
164 {'i', '`', 217}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
165 {'O', '"', 218}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
166 {'U', '"', 219}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
167 {'E', '\'', 220}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
168 {'i', '"', 221}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
169 {'s', 's', 222}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
170 {'O', '^', 223}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
171 {'A', '\'', 224}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
172 {'A', '~', 225}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
173 {'a', '~', 226}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
174 {'D', '-', 227}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
175 {'d', '-', 228}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
176 {'I', '\'', 229}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
177 {'I', '`', 230}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
178 {'O', '\'', 231}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
179 {'O', '`', 232}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
180 {'O', '~', 233}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
181 {'o', '~', 234}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
182 {'S', '~', 235}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
183 {'s', '~', 236}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
184 {'U', '\'', 237}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
185 {'Y', '"', 238}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
186 {'y', '"', 239}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
187 {'p', '-', 240}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
188 {'p', '~', 241}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
189 {'~', '.', 242}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
190 {'j', 'u', 243}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
191 {'P', 'p', 244}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
192 {'3', '4', 245}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
193 {'-', '-', 246}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
194 {'1', '4', 247}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
195 {'1', '2', 248}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
196 {'a', '_', 249}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
197 {'o', '_', 250}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
198 {'<', '<', 251}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
199 {'x', 'x', 252}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
200 {'>', '>', 253}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
201 {'+', '-', 254}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
202 {'n', 'u', 255}, /* x XX */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
203 {NUL, NUL, NUL}
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
204 };
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
205
8212
05b88224cea1 commit https://github.com/vim/vim/commit/48e330aff911be1c798c88a973af6437a8141fce
Christian Brabandt <cb@256bit.org>
parents: 7817
diff changeset
206 # else /* !HPUX_DIGRAPHS */
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
207
8212
05b88224cea1 commit https://github.com/vim/vim/commit/48e330aff911be1c798c88a973af6437a8141fce
Christian Brabandt <cb@256bit.org>
parents: 7817
diff changeset
208 # ifdef EBCDIC
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
209
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
210 /*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
211 * EBCDIC - ISO digraphs
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
212 * TODO: EBCDIC Table is Code-Page 1047
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
213 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
214 {{'a', '^', 66}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
215 {'a', '"', 67}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
216 {'a', '`', 68}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
217 {'a', '\'', 69}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
218 {'a', '~', 70}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
219 {'a', '@', 71}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
220 {'a', 'a', 71}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
221 {'c', ',', 72}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
222 {'n', '~', 73}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
223 {'c', '|', 74}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
224 {'e', '\'', 81}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
225 {'e', '^', 82}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
226 {'e', '"', 83}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
227 {'e', '`', 84}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
228 {'i', '\'', 85}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
229 {'i', '^', 86}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
230 {'i', '"', 87}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
231 {'i', '`', 88}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
232 {'s', 's', 89}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
233 {'A', '^', 98}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
234 {'A', '"', 99}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
235 {'A', '`', 100}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
236 {'A', '\'', 101}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
237 {'A', '~', 102}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
238 {'A', '@', 103}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
239 {'A', 'A', 103}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
240 {'C', ',', 104}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
241 {'N', '~', 105}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
242 {'|', '|', 106}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
243 {'o', '/', 112}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
244 {'E', '\'', 113}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
245 {'E', '^', 114}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
246 {'E', '"', 115}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
247 {'E', '`', 116}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
248 {'I', '\'', 117}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
249 {'I', '^', 118}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
250 {'I', '"', 119}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
251 {'I', '`', 120}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
252 {'O', '/', 128}, /* 0/ XX */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
253 {'<', '<', 138}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
254 {'>', '>', 139}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
255 {'d', '-', 140}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
256 {'y', '\'', 141}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
257 {'i', 'p', 142}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
258 {'+', '-', 143}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
259 {'~', 'o', 144}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
260 {'a', '-', 154}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
261 {'o', '-', 155}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
262 {'a', 'e', 156}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
263 {',', ',', 157}, /* , XX */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
264 {'A', 'E', 158}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
265 {'o', 'x', 159}, /* - currency symbol in ISO 8859-1 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
266 {'e', '=', 159}, /* - euro symbol in ISO 8859-15 */
523
a7ae7e043e43 updated for version 7.0146
vimboss
parents: 480
diff changeset
267 {'E', 'u', 159}, /* - euro symbol in ISO 8859-15 */
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
268 {'j', 'u', 160}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
269 {'y', '"', 167}, /* x XX */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
270 {'~', '!', 170}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
271 {'~', '?', 171}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
272 {'D', '-', 172}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
273 {'I', 'p', 174}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
274 {'r', 'O', 175}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
275 {'-', ',', 176}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
276 {'$', '$', 177}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
277 {'Y', '-', 178}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
278 {'~', '.', 179}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
279 {'c', 'O', 180}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
280 {'p', 'a', 181}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
281 {'p', 'p', 182}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
282 {'1', '4', 183}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
283 {'1', '2', 184}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
284 {'3', '4', 185}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
285 {'Y', '\'', 186}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
286 {'"', '"', 187}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
287 {'-', '=', 188}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
288 {'\'', '\'', 190}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
289 {'O', 'E', 191}, /* - OE in ISO 8859-15 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
290 {'/', '\\', 191}, /* - multiplication symbol in ISO 8859-1 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
291 {'-', '-', 202}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
292 {'o', '^', 203}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
293 {'o', '"', 204}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
294 {'o', '`', 205}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
295 {'o', '\'', 206}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
296 {'o', '~', 207}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
297 {'1', '1', 218}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
298 {'u', '^', 219}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
299 {'u', '"', 220}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
300 {'u', '`', 221}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
301 {'u', '\'', 222}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
302 {':', '-', 225}, /* - division symbol in ISO 8859-1 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
303 {'o', 'e', 225}, /* - oe in ISO 8859-15 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
304 {'2', '2', 234}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
305 {'O', '^', 235}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
306 {'O', '"', 236}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
307 {'O', '`', 237}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
308 {'O', '\'', 238}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
309 {'O', '~', 239}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
310 {'3', '3', 250}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
311 {'U', '^', 251}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
312 {'U', '"', 252}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
313 {'U', '`', 253}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
314 {'U', '\'', 254}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
315 {NUL, NUL, NUL}
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
316 };
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
317
8212
05b88224cea1 commit https://github.com/vim/vim/commit/48e330aff911be1c798c88a973af6437a8141fce
Christian Brabandt <cb@256bit.org>
parents: 7817
diff changeset
318 # else
15595
1ec942f1b648 patch 8.1.0805: too many #ifdefs
Bram Moolenaar <Bram@vim.org>
parents: 15470
diff changeset
319 # ifdef OLD_DIGRAPHS
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
320
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
321 /*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
322 * digraphs compatible with Vim 5.x
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
323 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
324 {{'~', '!', 161}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
325 {'c', '|', 162}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
326 {'$', '$', 163}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
327 {'o', 'x', 164}, /* - currency symbol in ISO 8859-1 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
328 {'e', '=', 164}, /* - euro symbol in ISO 8859-15 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
329 {'Y', '-', 165}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
330 {'|', '|', 166}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
331 {'p', 'a', 167}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
332 {'"', '"', 168}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
333 {'c', 'O', 169}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
334 {'a', '-', 170}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
335 {'<', '<', 171}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
336 {'-', ',', 172}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
337 {'-', '-', 173}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
338 {'r', 'O', 174}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
339 {'-', '=', 175}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
340 {'~', 'o', 176}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
341 {'+', '-', 177}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
342 {'2', '2', 178}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
343 {'3', '3', 179}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
344 {'\'', '\'', 180}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
345 {'j', 'u', 181}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
346 {'p', 'p', 182}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
347 {'~', '.', 183}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
348 {',', ',', 184}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
349 {'1', '1', 185}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
350 {'o', '-', 186}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
351 {'>', '>', 187}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
352 {'1', '4', 188}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
353 {'1', '2', 189}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
354 {'3', '4', 190}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
355 {'~', '?', 191}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
356 {'A', '`', 192}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
357 {'A', '\'', 193}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
358 {'A', '^', 194}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
359 {'A', '~', 195}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
360 {'A', '"', 196}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
361 {'A', '@', 197}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
362 {'A', 'A', 197}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
363 {'A', 'E', 198}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
364 {'C', ',', 199}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
365 {'E', '`', 200}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
366 {'E', '\'', 201}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
367 {'E', '^', 202}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
368 {'E', '"', 203}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
369 {'I', '`', 204}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
370 {'I', '\'', 205}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
371 {'I', '^', 206}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
372 {'I', '"', 207}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
373 {'D', '-', 208}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
374 {'N', '~', 209}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
375 {'O', '`', 210}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
376 {'O', '\'', 211}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
377 {'O', '^', 212}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
378 {'O', '~', 213}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
379 {'O', '"', 214}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
380 {'/', '\\', 215}, /* - multiplication symbol in ISO 8859-1 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
381 {'O', 'E', 215}, /* - OE in ISO 8859-15 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
382 {'O', '/', 216}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
383 {'U', '`', 217}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
384 {'U', '\'', 218}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
385 {'U', '^', 219}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
386 {'U', '"', 220}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
387 {'Y', '\'', 221}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
388 {'I', 'p', 222}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
389 {'s', 's', 223}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
390 {'a', '`', 224}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
391 {'a', '\'', 225}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
392 {'a', '^', 226}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
393 {'a', '~', 227}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
394 {'a', '"', 228}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
395 {'a', '@', 229}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
396 {'a', 'a', 229}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
397 {'a', 'e', 230}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
398 {'c', ',', 231}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
399 {'e', '`', 232}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
400 {'e', '\'', 233}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
401 {'e', '^', 234}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
402 {'e', '"', 235}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
403 {'i', '`', 236}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
404 {'i', '\'', 237}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
405 {'i', '^', 238}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
406 {'i', '"', 239}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
407 {'d', '-', 240}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
408 {'n', '~', 241}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
409 {'o', '`', 242}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
410 {'o', '\'', 243}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
411 {'o', '^', 244}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
412 {'o', '~', 245}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
413 {'o', '"', 246}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
414 {':', '-', 247}, /* - division symbol in ISO 8859-1 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
415 {'o', 'e', 247}, /* - oe in ISO 8859-15 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
416 {'o', '/', 248}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
417 {'u', '`', 249}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
418 {'u', '\'', 250}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
419 {'u', '^', 251}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
420 {'u', '"', 252}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
421 {'y', '\'', 253}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
422 {'i', 'p', 254}, /* */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
423 {'y', '"', 255}, /* x XX */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
424 {NUL, NUL, NUL}
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
425 };
15595
1ec942f1b648 patch 8.1.0805: too many #ifdefs
Bram Moolenaar <Bram@vim.org>
parents: 15470
diff changeset
426 # else /* OLD_DIGRAPHS */
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
427
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
428 /*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
429 * digraphs for Unicode from RFC1345
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
430 * (also work for ISO-8859-1 aka latin1)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
431 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
432 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
433 {'N', 'U', 0x0a}, /* LF for NUL */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
434 {'S', 'H', 0x01},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
435 {'S', 'X', 0x02},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
436 {'E', 'X', 0x03},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
437 {'E', 'T', 0x04},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
438 {'E', 'Q', 0x05},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
439 {'A', 'K', 0x06},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
440 {'B', 'L', 0x07},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
441 {'B', 'S', 0x08},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
442 {'H', 'T', 0x09},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
443 {'L', 'F', 0x0a},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
444 {'V', 'T', 0x0b},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
445 {'F', 'F', 0x0c},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
446 {'C', 'R', 0x0d},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
447 {'S', 'O', 0x0e},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
448 {'S', 'I', 0x0f},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
449 {'D', 'L', 0x10},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
450 {'D', '1', 0x11},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
451 {'D', '2', 0x12},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
452 {'D', '3', 0x13},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
453 {'D', '4', 0x14},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
454 {'N', 'K', 0x15},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
455 {'S', 'Y', 0x16},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
456 {'E', 'B', 0x17},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
457 {'C', 'N', 0x18},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
458 {'E', 'M', 0x19},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
459 {'S', 'B', 0x1a},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
460 {'E', 'C', 0x1b},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
461 {'F', 'S', 0x1c},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
462 {'G', 'S', 0x1d},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
463 {'R', 'S', 0x1e},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
464 {'U', 'S', 0x1f},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
465 {'S', 'P', 0x20},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
466 {'N', 'b', 0x23},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
467 {'D', 'O', 0x24},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
468 {'A', 't', 0x40},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
469 {'<', '(', 0x5b},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
470 {'/', '/', 0x5c},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
471 {')', '>', 0x5d},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
472 {'\'', '>', 0x5e},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
473 {'\'', '!', 0x60},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
474 {'(', '!', 0x7b},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
475 {'!', '!', 0x7c},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
476 {'!', ')', 0x7d},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
477 {'\'', '?', 0x7e},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
478 {'D', 'T', 0x7f},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
479 {'P', 'A', 0x80},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
480 {'H', 'O', 0x81},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
481 {'B', 'H', 0x82},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
482 {'N', 'H', 0x83},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
483 {'I', 'N', 0x84},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
484 {'N', 'L', 0x85},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
485 {'S', 'A', 0x86},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
486 {'E', 'S', 0x87},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
487 {'H', 'S', 0x88},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
488 {'H', 'J', 0x89},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
489 {'V', 'S', 0x8a},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
490 {'P', 'D', 0x8b},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
491 {'P', 'U', 0x8c},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
492 {'R', 'I', 0x8d},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
493 {'S', '2', 0x8e},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
494 {'S', '3', 0x8f},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
495 {'D', 'C', 0x90},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
496 {'P', '1', 0x91},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
497 {'P', '2', 0x92},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
498 {'T', 'S', 0x93},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
499 {'C', 'C', 0x94},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
500 {'M', 'W', 0x95},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
501 {'S', 'G', 0x96},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
502 {'E', 'G', 0x97},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
503 {'S', 'S', 0x98},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
504 {'G', 'C', 0x99},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
505 {'S', 'C', 0x9a},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
506 {'C', 'I', 0x9b},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
507 {'S', 'T', 0x9c},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
508 {'O', 'C', 0x9d},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
509 {'P', 'M', 0x9e},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
510 {'A', 'C', 0x9f},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
511 {'N', 'S', 0xa0},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
512 #define DG_START_LATIN 0xa1
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
513 {'!', 'I', 0xa1},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
514 {'~', '!', 0xa1}, // Vim 5.x compatible
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
515 {'C', 't', 0xa2},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
516 {'c', '|', 0xa2}, // Vim 5.x compatible
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
517 {'P', 'd', 0xa3},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
518 {'$', '$', 0xa3}, // Vim 5.x compatible
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
519 {'C', 'u', 0xa4},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
520 {'o', 'x', 0xa4}, // Vim 5.x compatible
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
521 {'Y', 'e', 0xa5},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
522 {'Y', '-', 0xa5}, // Vim 5.x compatible
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
523 {'B', 'B', 0xa6},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
524 {'|', '|', 0xa6}, // Vim 5.x compatible
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
525 {'S', 'E', 0xa7},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
526 {'\'', ':', 0xa8},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
527 {'C', 'o', 0xa9},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
528 {'c', 'O', 0xa9}, // Vim 5.x compatible
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
529 {'-', 'a', 0xaa},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
530 {'<', '<', 0xab},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
531 {'N', 'O', 0xac},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
532 {'-', ',', 0xac}, // Vim 5.x compatible
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
533 {'-', '-', 0xad},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
534 {'R', 'g', 0xae},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
535 {'\'', 'm', 0xaf},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
536 {'-', '=', 0xaf}, // Vim 5.x compatible
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
537 {'D', 'G', 0xb0},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
538 {'~', 'o', 0xb0}, // Vim 5.x compatible
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
539 {'+', '-', 0xb1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
540 {'2', 'S', 0xb2},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
541 {'2', '2', 0xb2}, // Vim 5.x compatible
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
542 {'3', 'S', 0xb3},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
543 {'3', '3', 0xb3}, // Vim 5.x compatible
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
544 {'\'', '\'', 0xb4},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
545 {'M', 'y', 0xb5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
546 {'P', 'I', 0xb6},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
547 {'p', 'p', 0xb6}, // Vim 5.x compatible
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
548 {'.', 'M', 0xb7},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
549 {'~', '.', 0xb7}, // Vim 5.x compatible
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
550 {'\'', ',', 0xb8},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
551 {'1', 'S', 0xb9},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
552 {'1', '1', 0xb9}, // Vim 5.x compatible
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
553 {'-', 'o', 0xba},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
554 {'>', '>', 0xbb},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
555 {'1', '4', 0xbc},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
556 {'1', '2', 0xbd},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
557 {'3', '4', 0xbe},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
558 {'?', 'I', 0xbf},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
559 {'~', '?', 0xbf}, // Vim 5.x compatible
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
560 {'A', '!', 0xc0},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
561 {'A', '`', 0xc0}, // Vim 5.x compatible
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
562 {'A', '\'', 0xc1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
563 {'A', '>', 0xc2},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
564 {'A', '^', 0xc2}, // Vim 5.x compatible
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
565 {'A', '?', 0xc3},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
566 {'A', '~', 0xc3}, // Vim 5.x compatible
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
567 {'A', ':', 0xc4},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
568 {'A', '"', 0xc4}, // Vim 5.x compatible
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
569 {'A', 'A', 0xc5},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
570 {'A', '@', 0xc5}, // Vim 5.x compatible
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
571 {'A', 'E', 0xc6},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
572 {'C', ',', 0xc7},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
573 {'E', '!', 0xc8},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
574 {'E', '`', 0xc8}, // Vim 5.x compatible
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
575 {'E', '\'', 0xc9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
576 {'E', '>', 0xca},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
577 {'E', '^', 0xca}, // Vim 5.x compatible
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
578 {'E', ':', 0xcb},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
579 {'E', '"', 0xcb}, // Vim 5.x compatible
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
580 {'I', '!', 0xcc},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
581 {'I', '`', 0xcc}, // Vim 5.x compatible
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
582 {'I', '\'', 0xcd},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
583 {'I', '>', 0xce},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
584 {'I', '^', 0xce}, // Vim 5.x compatible
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
585 {'I', ':', 0xcf},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
586 {'I', '"', 0xcf}, // Vim 5.x compatible
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
587 {'D', '-', 0xd0},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
588 {'N', '?', 0xd1},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
589 {'N', '~', 0xd1}, // Vim 5.x compatible
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
590 {'O', '!', 0xd2},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
591 {'O', '`', 0xd2}, // Vim 5.x compatible
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
592 {'O', '\'', 0xd3},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
593 {'O', '>', 0xd4},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
594 {'O', '^', 0xd4}, // Vim 5.x compatible
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
595 {'O', '?', 0xd5},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
596 {'O', '~', 0xd5}, // Vim 5.x compatible
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
597 {'O', ':', 0xd6},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
598 {'*', 'X', 0xd7},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
599 {'/', '\\', 0xd7}, // Vim 5.x compatible
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
600 {'O', '/', 0xd8},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
601 {'U', '!', 0xd9},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
602 {'U', '`', 0xd9}, // Vim 5.x compatible
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
603 {'U', '\'', 0xda},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
604 {'U', '>', 0xdb},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
605 {'U', '^', 0xdb}, // Vim 5.x compatible
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
606 {'U', ':', 0xdc},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
607 {'Y', '\'', 0xdd},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
608 {'T', 'H', 0xde},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
609 {'I', 'p', 0xde}, // Vim 5.x compatible
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
610 {'s', 's', 0xdf},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
611 {'a', '!', 0xe0},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
612 {'a', '`', 0xe0}, // Vim 5.x compatible
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
613 {'a', '\'', 0xe1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
614 {'a', '>', 0xe2},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
615 {'a', '^', 0xe2}, // Vim 5.x compatible
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
616 {'a', '?', 0xe3},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
617 {'a', '~', 0xe3}, // Vim 5.x compatible
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
618 {'a', ':', 0xe4},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
619 {'a', '"', 0xe4}, // Vim 5.x compatible
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
620 {'a', 'a', 0xe5},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
621 {'a', '@', 0xe5}, // Vim 5.x compatible
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
622 {'a', 'e', 0xe6},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
623 {'c', ',', 0xe7},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
624 {'e', '!', 0xe8},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
625 {'e', '`', 0xe8}, // Vim 5.x compatible
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
626 {'e', '\'', 0xe9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
627 {'e', '>', 0xea},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
628 {'e', '^', 0xea}, // Vim 5.x compatible
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
629 {'e', ':', 0xeb},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
630 {'e', '"', 0xeb}, // Vim 5.x compatible
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
631 {'i', '!', 0xec},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
632 {'i', '`', 0xec}, // Vim 5.x compatible
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
633 {'i', '\'', 0xed},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
634 {'i', '>', 0xee},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
635 {'i', '^', 0xee}, // Vim 5.x compatible
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
636 {'i', ':', 0xef},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
637 {'d', '-', 0xf0},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
638 {'n', '?', 0xf1},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
639 {'n', '~', 0xf1}, // Vim 5.x compatible
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
640 {'o', '!', 0xf2},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
641 {'o', '`', 0xf2}, // Vim 5.x compatible
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
642 {'o', '\'', 0xf3},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
643 {'o', '>', 0xf4},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
644 {'o', '^', 0xf4}, // Vim 5.x compatible
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
645 {'o', '?', 0xf5},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
646 {'o', '~', 0xf5}, // Vim 5.x compatible
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
647 {'o', ':', 0xf6},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
648 {'-', ':', 0xf7},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
649 {'o', '/', 0xf8},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
650 {'u', '!', 0xf9},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
651 {'u', '`', 0xf9}, // Vim 5.x compatible
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
652 {'u', '\'', 0xfa},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
653 {'u', '>', 0xfb},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
654 {'u', '^', 0xfb}, // Vim 5.x compatible
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
655 {'u', ':', 0xfc},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
656 {'y', '\'', 0xfd},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
657 {'t', 'h', 0xfe},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
658 {'y', ':', 0xff},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
659 {'y', '"', 0xff}, // x XX Vim 5.x compatible
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
660
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
661 # define USE_UNICODE_DIGRAPHS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
662
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
663 {'A', '-', 0x0100},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
664 {'a', '-', 0x0101},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
665 {'A', '(', 0x0102},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
666 {'a', '(', 0x0103},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
667 {'A', ';', 0x0104},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
668 {'a', ';', 0x0105},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
669 {'C', '\'', 0x0106},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
670 {'c', '\'', 0x0107},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
671 {'C', '>', 0x0108},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
672 {'c', '>', 0x0109},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
673 {'C', '.', 0x010a},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
674 {'c', '.', 0x010b},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
675 {'C', '<', 0x010c},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
676 {'c', '<', 0x010d},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
677 {'D', '<', 0x010e},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
678 {'d', '<', 0x010f},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
679 {'D', '/', 0x0110},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
680 {'d', '/', 0x0111},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
681 {'E', '-', 0x0112},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
682 {'e', '-', 0x0113},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
683 {'E', '(', 0x0114},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
684 {'e', '(', 0x0115},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
685 {'E', '.', 0x0116},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
686 {'e', '.', 0x0117},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
687 {'E', ';', 0x0118},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
688 {'e', ';', 0x0119},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
689 {'E', '<', 0x011a},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
690 {'e', '<', 0x011b},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
691 {'G', '>', 0x011c},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
692 {'g', '>', 0x011d},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
693 {'G', '(', 0x011e},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
694 {'g', '(', 0x011f},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
695 {'G', '.', 0x0120},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
696 {'g', '.', 0x0121},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
697 {'G', ',', 0x0122},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
698 {'g', ',', 0x0123},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
699 {'H', '>', 0x0124},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
700 {'h', '>', 0x0125},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
701 {'H', '/', 0x0126},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
702 {'h', '/', 0x0127},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
703 {'I', '?', 0x0128},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
704 {'i', '?', 0x0129},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
705 {'I', '-', 0x012a},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
706 {'i', '-', 0x012b},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
707 {'I', '(', 0x012c},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
708 {'i', '(', 0x012d},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
709 {'I', ';', 0x012e},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
710 {'i', ';', 0x012f},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
711 {'I', '.', 0x0130},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
712 {'i', '.', 0x0131},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
713 {'I', 'J', 0x0132},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
714 {'i', 'j', 0x0133},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
715 {'J', '>', 0x0134},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
716 {'j', '>', 0x0135},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
717 {'K', ',', 0x0136},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
718 {'k', ',', 0x0137},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
719 {'k', 'k', 0x0138},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
720 {'L', '\'', 0x0139},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
721 {'l', '\'', 0x013a},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
722 {'L', ',', 0x013b},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
723 {'l', ',', 0x013c},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
724 {'L', '<', 0x013d},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
725 {'l', '<', 0x013e},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
726 {'L', '.', 0x013f},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
727 {'l', '.', 0x0140},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
728 {'L', '/', 0x0141},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
729 {'l', '/', 0x0142},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
730 {'N', '\'', 0x0143},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
731 {'n', '\'', 0x0144},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
732 {'N', ',', 0x0145},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
733 {'n', ',', 0x0146},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
734 {'N', '<', 0x0147},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
735 {'n', '<', 0x0148},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
736 {'\'', 'n', 0x0149},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
737 {'N', 'G', 0x014a},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
738 {'n', 'g', 0x014b},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
739 {'O', '-', 0x014c},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
740 {'o', '-', 0x014d},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
741 {'O', '(', 0x014e},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
742 {'o', '(', 0x014f},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
743 {'O', '"', 0x0150},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
744 {'o', '"', 0x0151},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
745 {'O', 'E', 0x0152},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
746 {'o', 'e', 0x0153},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
747 {'R', '\'', 0x0154},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
748 {'r', '\'', 0x0155},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
749 {'R', ',', 0x0156},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
750 {'r', ',', 0x0157},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
751 {'R', '<', 0x0158},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
752 {'r', '<', 0x0159},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
753 {'S', '\'', 0x015a},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
754 {'s', '\'', 0x015b},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
755 {'S', '>', 0x015c},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
756 {'s', '>', 0x015d},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
757 {'S', ',', 0x015e},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
758 {'s', ',', 0x015f},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
759 {'S', '<', 0x0160},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
760 {'s', '<', 0x0161},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
761 {'T', ',', 0x0162},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
762 {'t', ',', 0x0163},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
763 {'T', '<', 0x0164},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
764 {'t', '<', 0x0165},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
765 {'T', '/', 0x0166},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
766 {'t', '/', 0x0167},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
767 {'U', '?', 0x0168},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
768 {'u', '?', 0x0169},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
769 {'U', '-', 0x016a},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
770 {'u', '-', 0x016b},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
771 {'U', '(', 0x016c},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
772 {'u', '(', 0x016d},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
773 {'U', '0', 0x016e},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
774 {'u', '0', 0x016f},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
775 {'U', '"', 0x0170},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
776 {'u', '"', 0x0171},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
777 {'U', ';', 0x0172},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
778 {'u', ';', 0x0173},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
779 {'W', '>', 0x0174},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
780 {'w', '>', 0x0175},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
781 {'Y', '>', 0x0176},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
782 {'y', '>', 0x0177},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
783 {'Y', ':', 0x0178},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
784 {'Z', '\'', 0x0179},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
785 {'z', '\'', 0x017a},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
786 {'Z', '.', 0x017b},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
787 {'z', '.', 0x017c},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
788 {'Z', '<', 0x017d},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
789 {'z', '<', 0x017e},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
790 {'O', '9', 0x01a0},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
791 {'o', '9', 0x01a1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
792 {'O', 'I', 0x01a2},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
793 {'o', 'i', 0x01a3},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
794 {'y', 'r', 0x01a6},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
795 {'U', '9', 0x01af},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
796 {'u', '9', 0x01b0},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
797 {'Z', '/', 0x01b5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
798 {'z', '/', 0x01b6},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
799 {'E', 'D', 0x01b7},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
800 {'A', '<', 0x01cd},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
801 {'a', '<', 0x01ce},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
802 {'I', '<', 0x01cf},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
803 {'i', '<', 0x01d0},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
804 {'O', '<', 0x01d1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
805 {'o', '<', 0x01d2},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
806 {'U', '<', 0x01d3},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
807 {'u', '<', 0x01d4},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
808 {'A', '1', 0x01de},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
809 {'a', '1', 0x01df},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
810 {'A', '7', 0x01e0},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
811 {'a', '7', 0x01e1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
812 {'A', '3', 0x01e2},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
813 {'a', '3', 0x01e3},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
814 {'G', '/', 0x01e4},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
815 {'g', '/', 0x01e5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
816 {'G', '<', 0x01e6},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
817 {'g', '<', 0x01e7},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
818 {'K', '<', 0x01e8},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
819 {'k', '<', 0x01e9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
820 {'O', ';', 0x01ea},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
821 {'o', ';', 0x01eb},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
822 {'O', '1', 0x01ec},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
823 {'o', '1', 0x01ed},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
824 {'E', 'Z', 0x01ee},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
825 {'e', 'z', 0x01ef},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
826 {'j', '<', 0x01f0},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
827 {'G', '\'', 0x01f4},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
828 {'g', '\'', 0x01f5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
829 {';', 'S', 0x02bf},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
830 {'\'', '<', 0x02c7},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
831 {'\'', '(', 0x02d8},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
832 {'\'', '.', 0x02d9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
833 {'\'', '0', 0x02da},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
834 {'\'', ';', 0x02db},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
835 {'\'', '"', 0x02dd},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
836 #define DG_START_GREEK 0x0386
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
837 {'A', '%', 0x0386},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
838 {'E', '%', 0x0388},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
839 {'Y', '%', 0x0389},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
840 {'I', '%', 0x038a},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
841 {'O', '%', 0x038c},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
842 {'U', '%', 0x038e},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
843 {'W', '%', 0x038f},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
844 {'i', '3', 0x0390},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
845 {'A', '*', 0x0391},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
846 {'B', '*', 0x0392},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
847 {'G', '*', 0x0393},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
848 {'D', '*', 0x0394},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
849 {'E', '*', 0x0395},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
850 {'Z', '*', 0x0396},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
851 {'Y', '*', 0x0397},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
852 {'H', '*', 0x0398},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
853 {'I', '*', 0x0399},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
854 {'K', '*', 0x039a},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
855 {'L', '*', 0x039b},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
856 {'M', '*', 0x039c},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
857 {'N', '*', 0x039d},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
858 {'C', '*', 0x039e},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
859 {'O', '*', 0x039f},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
860 {'P', '*', 0x03a0},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
861 {'R', '*', 0x03a1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
862 {'S', '*', 0x03a3},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
863 {'T', '*', 0x03a4},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
864 {'U', '*', 0x03a5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
865 {'F', '*', 0x03a6},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
866 {'X', '*', 0x03a7},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
867 {'Q', '*', 0x03a8},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
868 {'W', '*', 0x03a9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
869 {'J', '*', 0x03aa},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
870 {'V', '*', 0x03ab},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
871 {'a', '%', 0x03ac},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
872 {'e', '%', 0x03ad},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
873 {'y', '%', 0x03ae},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
874 {'i', '%', 0x03af},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
875 {'u', '3', 0x03b0},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
876 {'a', '*', 0x03b1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
877 {'b', '*', 0x03b2},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
878 {'g', '*', 0x03b3},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
879 {'d', '*', 0x03b4},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
880 {'e', '*', 0x03b5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
881 {'z', '*', 0x03b6},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
882 {'y', '*', 0x03b7},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
883 {'h', '*', 0x03b8},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
884 {'i', '*', 0x03b9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
885 {'k', '*', 0x03ba},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
886 {'l', '*', 0x03bb},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
887 {'m', '*', 0x03bc},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
888 {'n', '*', 0x03bd},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
889 {'c', '*', 0x03be},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
890 {'o', '*', 0x03bf},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
891 {'p', '*', 0x03c0},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
892 {'r', '*', 0x03c1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
893 {'*', 's', 0x03c2},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
894 {'s', '*', 0x03c3},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
895 {'t', '*', 0x03c4},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
896 {'u', '*', 0x03c5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
897 {'f', '*', 0x03c6},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
898 {'x', '*', 0x03c7},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
899 {'q', '*', 0x03c8},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
900 {'w', '*', 0x03c9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
901 {'j', '*', 0x03ca},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
902 {'v', '*', 0x03cb},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
903 {'o', '%', 0x03cc},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
904 {'u', '%', 0x03cd},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
905 {'w', '%', 0x03ce},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
906 {'\'', 'G', 0x03d8},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
907 {',', 'G', 0x03d9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
908 {'T', '3', 0x03da},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
909 {'t', '3', 0x03db},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
910 {'M', '3', 0x03dc},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
911 {'m', '3', 0x03dd},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
912 {'K', '3', 0x03de},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
913 {'k', '3', 0x03df},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
914 {'P', '3', 0x03e0},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
915 {'p', '3', 0x03e1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
916 {'\'', '%', 0x03f4},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
917 {'j', '3', 0x03f5},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
918 #define DG_START_CYRILLIC 0x0401
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
919 {'I', 'O', 0x0401},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
920 {'D', '%', 0x0402},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
921 {'G', '%', 0x0403},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
922 {'I', 'E', 0x0404},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
923 {'D', 'S', 0x0405},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
924 {'I', 'I', 0x0406},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
925 {'Y', 'I', 0x0407},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
926 {'J', '%', 0x0408},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
927 {'L', 'J', 0x0409},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
928 {'N', 'J', 0x040a},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
929 {'T', 's', 0x040b},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
930 {'K', 'J', 0x040c},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
931 {'V', '%', 0x040e},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
932 {'D', 'Z', 0x040f},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
933 {'A', '=', 0x0410},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
934 {'B', '=', 0x0411},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
935 {'V', '=', 0x0412},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
936 {'G', '=', 0x0413},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
937 {'D', '=', 0x0414},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
938 {'E', '=', 0x0415},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
939 {'Z', '%', 0x0416},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
940 {'Z', '=', 0x0417},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
941 {'I', '=', 0x0418},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
942 {'J', '=', 0x0419},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
943 {'K', '=', 0x041a},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
944 {'L', '=', 0x041b},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
945 {'M', '=', 0x041c},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
946 {'N', '=', 0x041d},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
947 {'O', '=', 0x041e},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
948 {'P', '=', 0x041f},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
949 {'R', '=', 0x0420},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
950 {'S', '=', 0x0421},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
951 {'T', '=', 0x0422},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
952 {'U', '=', 0x0423},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
953 {'F', '=', 0x0424},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
954 {'H', '=', 0x0425},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
955 {'C', '=', 0x0426},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
956 {'C', '%', 0x0427},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
957 {'S', '%', 0x0428},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
958 {'S', 'c', 0x0429},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
959 {'=', '"', 0x042a},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
960 {'Y', '=', 0x042b},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
961 {'%', '"', 0x042c},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
962 {'J', 'E', 0x042d},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
963 {'J', 'U', 0x042e},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
964 {'J', 'A', 0x042f},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
965 {'a', '=', 0x0430},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
966 {'b', '=', 0x0431},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
967 {'v', '=', 0x0432},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
968 {'g', '=', 0x0433},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
969 {'d', '=', 0x0434},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
970 {'e', '=', 0x0435},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
971 {'z', '%', 0x0436},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
972 {'z', '=', 0x0437},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
973 {'i', '=', 0x0438},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
974 {'j', '=', 0x0439},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
975 {'k', '=', 0x043a},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
976 {'l', '=', 0x043b},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
977 {'m', '=', 0x043c},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
978 {'n', '=', 0x043d},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
979 {'o', '=', 0x043e},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
980 {'p', '=', 0x043f},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
981 {'r', '=', 0x0440},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
982 {'s', '=', 0x0441},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
983 {'t', '=', 0x0442},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
984 {'u', '=', 0x0443},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
985 {'f', '=', 0x0444},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
986 {'h', '=', 0x0445},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
987 {'c', '=', 0x0446},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
988 {'c', '%', 0x0447},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
989 {'s', '%', 0x0448},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
990 {'s', 'c', 0x0449},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
991 {'=', '\'', 0x044a},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
992 {'y', '=', 0x044b},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
993 {'%', '\'', 0x044c},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
994 {'j', 'e', 0x044d},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
995 {'j', 'u', 0x044e},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
996 {'j', 'a', 0x044f},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
997 {'i', 'o', 0x0451},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
998 {'d', '%', 0x0452},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
999 {'g', '%', 0x0453},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1000 {'i', 'e', 0x0454},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1001 {'d', 's', 0x0455},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1002 {'i', 'i', 0x0456},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1003 {'y', 'i', 0x0457},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1004 {'j', '%', 0x0458},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1005 {'l', 'j', 0x0459},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1006 {'n', 'j', 0x045a},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1007 {'t', 's', 0x045b},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1008 {'k', 'j', 0x045c},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1009 {'v', '%', 0x045e},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1010 {'d', 'z', 0x045f},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1011 {'Y', '3', 0x0462},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1012 {'y', '3', 0x0463},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1013 {'O', '3', 0x046a},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1014 {'o', '3', 0x046b},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1015 {'F', '3', 0x0472},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1016 {'f', '3', 0x0473},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1017 {'V', '3', 0x0474},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1018 {'v', '3', 0x0475},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1019 {'C', '3', 0x0480},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1020 {'c', '3', 0x0481},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1021 {'G', '3', 0x0490},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1022 {'g', '3', 0x0491},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
1023 #define DG_START_HEBREW 0x05d0
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1024 {'A', '+', 0x05d0},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1025 {'B', '+', 0x05d1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1026 {'G', '+', 0x05d2},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1027 {'D', '+', 0x05d3},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1028 {'H', '+', 0x05d4},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1029 {'W', '+', 0x05d5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1030 {'Z', '+', 0x05d6},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1031 {'X', '+', 0x05d7},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1032 {'T', 'j', 0x05d8},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1033 {'J', '+', 0x05d9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1034 {'K', '%', 0x05da},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1035 {'K', '+', 0x05db},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1036 {'L', '+', 0x05dc},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1037 {'M', '%', 0x05dd},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1038 {'M', '+', 0x05de},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1039 {'N', '%', 0x05df},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1040 {'N', '+', 0x05e0},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1041 {'S', '+', 0x05e1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1042 {'E', '+', 0x05e2},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1043 {'P', '%', 0x05e3},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1044 {'P', '+', 0x05e4},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1045 {'Z', 'j', 0x05e5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1046 {'Z', 'J', 0x05e6},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1047 {'Q', '+', 0x05e7},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1048 {'R', '+', 0x05e8},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1049 {'S', 'h', 0x05e9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1050 {'T', '+', 0x05ea},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
1051 #define DG_START_ARABIC 0x060c
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1052 {',', '+', 0x060c},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1053 {';', '+', 0x061b},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1054 {'?', '+', 0x061f},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1055 {'H', '\'', 0x0621},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1056 {'a', 'M', 0x0622},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1057 {'a', 'H', 0x0623},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1058 {'w', 'H', 0x0624},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1059 {'a', 'h', 0x0625},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1060 {'y', 'H', 0x0626},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1061 {'a', '+', 0x0627},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1062 {'b', '+', 0x0628},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1063 {'t', 'm', 0x0629},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1064 {'t', '+', 0x062a},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1065 {'t', 'k', 0x062b},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1066 {'g', '+', 0x062c},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1067 {'h', 'k', 0x062d},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1068 {'x', '+', 0x062e},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1069 {'d', '+', 0x062f},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1070 {'d', 'k', 0x0630},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1071 {'r', '+', 0x0631},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1072 {'z', '+', 0x0632},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1073 {'s', '+', 0x0633},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1074 {'s', 'n', 0x0634},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1075 {'c', '+', 0x0635},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1076 {'d', 'd', 0x0636},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1077 {'t', 'j', 0x0637},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1078 {'z', 'H', 0x0638},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1079 {'e', '+', 0x0639},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1080 {'i', '+', 0x063a},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1081 {'+', '+', 0x0640},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1082 {'f', '+', 0x0641},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1083 {'q', '+', 0x0642},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1084 {'k', '+', 0x0643},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1085 {'l', '+', 0x0644},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1086 {'m', '+', 0x0645},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1087 {'n', '+', 0x0646},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1088 {'h', '+', 0x0647},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1089 {'w', '+', 0x0648},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1090 {'j', '+', 0x0649},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1091 {'y', '+', 0x064a},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1092 {':', '+', 0x064b},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1093 {'"', '+', 0x064c},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1094 {'=', '+', 0x064d},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1095 {'/', '+', 0x064e},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1096 {'\'', '+', 0x064f},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1097 {'1', '+', 0x0650},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1098 {'3', '+', 0x0651},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1099 {'0', '+', 0x0652},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1100 {'a', 'S', 0x0670},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1101 {'p', '+', 0x067e},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1102 {'v', '+', 0x06a4},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1103 {'g', 'f', 0x06af},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1104 {'0', 'a', 0x06f0},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1105 {'1', 'a', 0x06f1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1106 {'2', 'a', 0x06f2},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1107 {'3', 'a', 0x06f3},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1108 {'4', 'a', 0x06f4},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1109 {'5', 'a', 0x06f5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1110 {'6', 'a', 0x06f6},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1111 {'7', 'a', 0x06f7},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1112 {'8', 'a', 0x06f8},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1113 {'9', 'a', 0x06f9},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
1114 #define DG_START_LATIN_EXTENDED 0x1e02
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1115 {'B', '.', 0x1e02},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1116 {'b', '.', 0x1e03},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1117 {'B', '_', 0x1e06},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1118 {'b', '_', 0x1e07},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1119 {'D', '.', 0x1e0a},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1120 {'d', '.', 0x1e0b},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1121 {'D', '_', 0x1e0e},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1122 {'d', '_', 0x1e0f},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1123 {'D', ',', 0x1e10},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1124 {'d', ',', 0x1e11},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1125 {'F', '.', 0x1e1e},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1126 {'f', '.', 0x1e1f},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1127 {'G', '-', 0x1e20},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1128 {'g', '-', 0x1e21},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1129 {'H', '.', 0x1e22},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1130 {'h', '.', 0x1e23},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1131 {'H', ':', 0x1e26},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1132 {'h', ':', 0x1e27},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1133 {'H', ',', 0x1e28},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1134 {'h', ',', 0x1e29},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1135 {'K', '\'', 0x1e30},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1136 {'k', '\'', 0x1e31},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1137 {'K', '_', 0x1e34},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1138 {'k', '_', 0x1e35},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1139 {'L', '_', 0x1e3a},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1140 {'l', '_', 0x1e3b},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1141 {'M', '\'', 0x1e3e},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1142 {'m', '\'', 0x1e3f},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1143 {'M', '.', 0x1e40},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1144 {'m', '.', 0x1e41},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1145 {'N', '.', 0x1e44},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1146 {'n', '.', 0x1e45},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1147 {'N', '_', 0x1e48},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1148 {'n', '_', 0x1e49},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1149 {'P', '\'', 0x1e54},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1150 {'p', '\'', 0x1e55},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1151 {'P', '.', 0x1e56},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1152 {'p', '.', 0x1e57},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1153 {'R', '.', 0x1e58},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1154 {'r', '.', 0x1e59},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1155 {'R', '_', 0x1e5e},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1156 {'r', '_', 0x1e5f},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1157 {'S', '.', 0x1e60},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1158 {'s', '.', 0x1e61},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1159 {'T', '.', 0x1e6a},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1160 {'t', '.', 0x1e6b},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1161 {'T', '_', 0x1e6e},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1162 {'t', '_', 0x1e6f},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1163 {'V', '?', 0x1e7c},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1164 {'v', '?', 0x1e7d},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1165 {'W', '!', 0x1e80},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
1166 {'W', '`', 0x1e80}, // extra alternative, easier to remember
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1167 {'w', '!', 0x1e81},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
1168 {'w', '`', 0x1e81}, // extra alternative, easier to remember
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1169 {'W', '\'', 0x1e82},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1170 {'w', '\'', 0x1e83},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1171 {'W', ':', 0x1e84},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1172 {'w', ':', 0x1e85},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1173 {'W', '.', 0x1e86},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1174 {'w', '.', 0x1e87},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1175 {'X', '.', 0x1e8a},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1176 {'x', '.', 0x1e8b},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1177 {'X', ':', 0x1e8c},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1178 {'x', ':', 0x1e8d},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1179 {'Y', '.', 0x1e8e},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1180 {'y', '.', 0x1e8f},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1181 {'Z', '>', 0x1e90},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1182 {'z', '>', 0x1e91},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1183 {'Z', '_', 0x1e94},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1184 {'z', '_', 0x1e95},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1185 {'h', '_', 0x1e96},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1186 {'t', ':', 0x1e97},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1187 {'w', '0', 0x1e98},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1188 {'y', '0', 0x1e99},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1189 {'A', '2', 0x1ea2},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1190 {'a', '2', 0x1ea3},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1191 {'E', '2', 0x1eba},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1192 {'e', '2', 0x1ebb},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1193 {'E', '?', 0x1ebc},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1194 {'e', '?', 0x1ebd},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1195 {'I', '2', 0x1ec8},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1196 {'i', '2', 0x1ec9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1197 {'O', '2', 0x1ece},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1198 {'o', '2', 0x1ecf},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1199 {'U', '2', 0x1ee6},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1200 {'u', '2', 0x1ee7},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1201 {'Y', '!', 0x1ef2},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
1202 {'Y', '`', 0x1ef2}, // extra alternative, easier to remember
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1203 {'y', '!', 0x1ef3},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
1204 {'y', '`', 0x1ef3}, // extra alternative, easier to remember
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1205 {'Y', '2', 0x1ef6},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1206 {'y', '2', 0x1ef7},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1207 {'Y', '?', 0x1ef8},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1208 {'y', '?', 0x1ef9},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
1209 #define DG_START_GREEK_EXTENDED 0x1f00
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1210 {';', '\'', 0x1f00},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1211 {',', '\'', 0x1f01},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1212 {';', '!', 0x1f02},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1213 {',', '!', 0x1f03},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1214 {'?', ';', 0x1f04},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1215 {'?', ',', 0x1f05},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1216 {'!', ':', 0x1f06},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1217 {'?', ':', 0x1f07},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
1218 #define DG_START_PUNCTUATION 0x2002
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1219 {'1', 'N', 0x2002},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1220 {'1', 'M', 0x2003},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1221 {'3', 'M', 0x2004},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1222 {'4', 'M', 0x2005},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1223 {'6', 'M', 0x2006},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1224 {'1', 'T', 0x2009},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1225 {'1', 'H', 0x200a},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1226 {'-', '1', 0x2010},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1227 {'-', 'N', 0x2013},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1228 {'-', 'M', 0x2014},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1229 {'-', '3', 0x2015},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1230 {'!', '2', 0x2016},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1231 {'=', '2', 0x2017},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1232 {'\'', '6', 0x2018},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1233 {'\'', '9', 0x2019},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1234 {'.', '9', 0x201a},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1235 {'9', '\'', 0x201b},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1236 {'"', '6', 0x201c},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1237 {'"', '9', 0x201d},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1238 {':', '9', 0x201e},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1239 {'9', '"', 0x201f},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1240 {'/', '-', 0x2020},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1241 {'/', '=', 0x2021},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1242 {'.', '.', 0x2025},
10334
086117f5fb71 commit https://github.com/vim/vim/commit/81615517249bb78cba9c37c9834b787c1b265521
Christian Brabandt <cb@256bit.org>
parents: 10042
diff changeset
1243 {',', '.', 0x2026},
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1244 {'%', '0', 0x2030},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1245 {'1', '\'', 0x2032},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1246 {'2', '\'', 0x2033},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1247 {'3', '\'', 0x2034},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1248 {'1', '"', 0x2035},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1249 {'2', '"', 0x2036},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1250 {'3', '"', 0x2037},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1251 {'C', 'a', 0x2038},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1252 {'<', '1', 0x2039},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1253 {'>', '1', 0x203a},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1254 {':', 'X', 0x203b},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1255 {'\'', '-', 0x203e},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1256 {'/', 'f', 0x2044},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
1257 #define DG_START_SUB_SUPER 0x2070
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1258 {'0', 'S', 0x2070},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1259 {'4', 'S', 0x2074},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1260 {'5', 'S', 0x2075},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1261 {'6', 'S', 0x2076},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1262 {'7', 'S', 0x2077},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1263 {'8', 'S', 0x2078},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1264 {'9', 'S', 0x2079},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1265 {'+', 'S', 0x207a},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1266 {'-', 'S', 0x207b},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1267 {'=', 'S', 0x207c},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1268 {'(', 'S', 0x207d},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1269 {')', 'S', 0x207e},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1270 {'n', 'S', 0x207f},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1271 {'0', 's', 0x2080},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1272 {'1', 's', 0x2081},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1273 {'2', 's', 0x2082},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1274 {'3', 's', 0x2083},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1275 {'4', 's', 0x2084},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1276 {'5', 's', 0x2085},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1277 {'6', 's', 0x2086},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1278 {'7', 's', 0x2087},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1279 {'8', 's', 0x2088},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1280 {'9', 's', 0x2089},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1281 {'+', 's', 0x208a},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1282 {'-', 's', 0x208b},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1283 {'=', 's', 0x208c},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1284 {'(', 's', 0x208d},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1285 {')', 's', 0x208e},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
1286 #define DG_START_CURRENCY 0x20a4
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1287 {'L', 'i', 0x20a4},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1288 {'P', 't', 0x20a7},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1289 {'W', '=', 0x20a9},
26
404aac550f35 updated for version 7.0017
vimboss
parents: 7
diff changeset
1290 {'=', 'e', 0x20ac}, /* euro */
523
a7ae7e043e43 updated for version 7.0146
vimboss
parents: 480
diff changeset
1291 {'E', 'u', 0x20ac}, /* euro */
5989
8ad2ecd11602 updated for version 7.4.335
Bram Moolenaar <bram@vim.org>
parents: 3263
diff changeset
1292 {'=', 'R', 0x20bd}, /* rouble */
8ad2ecd11602 updated for version 7.4.335
Bram Moolenaar <bram@vim.org>
parents: 3263
diff changeset
1293 {'=', 'P', 0x20bd}, /* rouble */
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
1294 #define DG_START_OTHER1 0x2103
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1295 {'o', 'C', 0x2103},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1296 {'c', 'o', 0x2105},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1297 {'o', 'F', 0x2109},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1298 {'N', '0', 0x2116},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1299 {'P', 'O', 0x2117},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1300 {'R', 'x', 0x211e},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1301 {'S', 'M', 0x2120},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1302 {'T', 'M', 0x2122},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1303 {'O', 'm', 0x2126},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1304 {'A', 'O', 0x212b},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1305 {'1', '3', 0x2153},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1306 {'2', '3', 0x2154},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1307 {'1', '5', 0x2155},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1308 {'2', '5', 0x2156},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1309 {'3', '5', 0x2157},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1310 {'4', '5', 0x2158},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1311 {'1', '6', 0x2159},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1312 {'5', '6', 0x215a},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1313 {'1', '8', 0x215b},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1314 {'3', '8', 0x215c},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1315 {'5', '8', 0x215d},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1316 {'7', '8', 0x215e},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
1317 #define DG_START_ROMAN 0x2160
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1318 {'1', 'R', 0x2160},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1319 {'2', 'R', 0x2161},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1320 {'3', 'R', 0x2162},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1321 {'4', 'R', 0x2163},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1322 {'5', 'R', 0x2164},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1323 {'6', 'R', 0x2165},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1324 {'7', 'R', 0x2166},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1325 {'8', 'R', 0x2167},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1326 {'9', 'R', 0x2168},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1327 {'a', 'R', 0x2169},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1328 {'b', 'R', 0x216a},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1329 {'c', 'R', 0x216b},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1330 {'1', 'r', 0x2170},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1331 {'2', 'r', 0x2171},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1332 {'3', 'r', 0x2172},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1333 {'4', 'r', 0x2173},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1334 {'5', 'r', 0x2174},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1335 {'6', 'r', 0x2175},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1336 {'7', 'r', 0x2176},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1337 {'8', 'r', 0x2177},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1338 {'9', 'r', 0x2178},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1339 {'a', 'r', 0x2179},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1340 {'b', 'r', 0x217a},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1341 {'c', 'r', 0x217b},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
1342 #define DG_START_ARROWS 0x2190
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1343 {'<', '-', 0x2190},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1344 {'-', '!', 0x2191},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1345 {'-', '>', 0x2192},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1346 {'-', 'v', 0x2193},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1347 {'<', '>', 0x2194},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1348 {'U', 'D', 0x2195},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1349 {'<', '=', 0x21d0},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1350 {'=', '>', 0x21d2},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1351 {'=', '=', 0x21d4},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
1352 #define DG_START_MATH 0x2200
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1353 {'F', 'A', 0x2200},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1354 {'d', 'P', 0x2202},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1355 {'T', 'E', 0x2203},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1356 {'/', '0', 0x2205},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1357 {'D', 'E', 0x2206},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1358 {'N', 'B', 0x2207},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1359 {'(', '-', 0x2208},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1360 {'-', ')', 0x220b},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1361 {'*', 'P', 0x220f},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1362 {'+', 'Z', 0x2211},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1363 {'-', '2', 0x2212},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1364 {'-', '+', 0x2213},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1365 {'*', '-', 0x2217},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1366 {'O', 'b', 0x2218},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1367 {'S', 'b', 0x2219},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1368 {'R', 'T', 0x221a},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1369 {'0', '(', 0x221d},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1370 {'0', '0', 0x221e},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1371 {'-', 'L', 0x221f},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1372 {'-', 'V', 0x2220},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1373 {'P', 'P', 0x2225},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1374 {'A', 'N', 0x2227},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1375 {'O', 'R', 0x2228},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1376 {'(', 'U', 0x2229},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1377 {')', 'U', 0x222a},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1378 {'I', 'n', 0x222b},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1379 {'D', 'I', 0x222c},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1380 {'I', 'o', 0x222e},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1381 {'.', ':', 0x2234},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1382 {':', '.', 0x2235},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1383 {':', 'R', 0x2236},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1384 {':', ':', 0x2237},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1385 {'?', '1', 0x223c},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1386 {'C', 'G', 0x223e},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1387 {'?', '-', 0x2243},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1388 {'?', '=', 0x2245},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1389 {'?', '2', 0x2248},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1390 {'=', '?', 0x224c},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1391 {'H', 'I', 0x2253},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1392 {'!', '=', 0x2260},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1393 {'=', '3', 0x2261},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1394 {'=', '<', 0x2264},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1395 {'>', '=', 0x2265},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1396 {'<', '*', 0x226a},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1397 {'*', '>', 0x226b},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1398 {'!', '<', 0x226e},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1399 {'!', '>', 0x226f},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1400 {'(', 'C', 0x2282},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1401 {')', 'C', 0x2283},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1402 {'(', '_', 0x2286},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1403 {')', '_', 0x2287},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1404 {'0', '.', 0x2299},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1405 {'0', '2', 0x229a},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1406 {'-', 'T', 0x22a5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1407 {'.', 'P', 0x22c5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1408 {':', '3', 0x22ee},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1409 {'.', '3', 0x22ef},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
1410 #define DG_START_TECHNICAL 0x2302
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1411 {'E', 'h', 0x2302},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1412 {'<', '7', 0x2308},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1413 {'>', '7', 0x2309},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1414 {'7', '<', 0x230a},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1415 {'7', '>', 0x230b},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1416 {'N', 'I', 0x2310},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1417 {'(', 'A', 0x2312},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1418 {'T', 'R', 0x2315},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1419 {'I', 'u', 0x2320},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1420 {'I', 'l', 0x2321},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1421 {'<', '/', 0x2329},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1422 {'/', '>', 0x232a},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
1423 #define DG_START_OTHER2 0x2423
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1424 {'V', 's', 0x2423},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1425 {'1', 'h', 0x2440},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1426 {'3', 'h', 0x2441},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1427 {'2', 'h', 0x2442},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1428 {'4', 'h', 0x2443},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1429 {'1', 'j', 0x2446},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1430 {'2', 'j', 0x2447},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1431 {'3', 'j', 0x2448},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1432 {'4', 'j', 0x2449},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1433 {'1', '.', 0x2488},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1434 {'2', '.', 0x2489},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1435 {'3', '.', 0x248a},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1436 {'4', '.', 0x248b},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1437 {'5', '.', 0x248c},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1438 {'6', '.', 0x248d},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1439 {'7', '.', 0x248e},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1440 {'8', '.', 0x248f},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1441 {'9', '.', 0x2490},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
1442 #define DG_START_DRAWING 0x2500
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1443 {'h', 'h', 0x2500},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1444 {'H', 'H', 0x2501},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1445 {'v', 'v', 0x2502},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1446 {'V', 'V', 0x2503},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1447 {'3', '-', 0x2504},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1448 {'3', '_', 0x2505},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1449 {'3', '!', 0x2506},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1450 {'3', '/', 0x2507},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1451 {'4', '-', 0x2508},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1452 {'4', '_', 0x2509},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1453 {'4', '!', 0x250a},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1454 {'4', '/', 0x250b},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1455 {'d', 'r', 0x250c},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1456 {'d', 'R', 0x250d},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1457 {'D', 'r', 0x250e},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1458 {'D', 'R', 0x250f},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1459 {'d', 'l', 0x2510},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1460 {'d', 'L', 0x2511},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1461 {'D', 'l', 0x2512},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1462 {'L', 'D', 0x2513},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1463 {'u', 'r', 0x2514},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1464 {'u', 'R', 0x2515},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1465 {'U', 'r', 0x2516},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1466 {'U', 'R', 0x2517},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1467 {'u', 'l', 0x2518},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1468 {'u', 'L', 0x2519},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1469 {'U', 'l', 0x251a},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1470 {'U', 'L', 0x251b},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1471 {'v', 'r', 0x251c},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1472 {'v', 'R', 0x251d},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1473 {'V', 'r', 0x2520},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1474 {'V', 'R', 0x2523},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1475 {'v', 'l', 0x2524},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1476 {'v', 'L', 0x2525},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1477 {'V', 'l', 0x2528},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1478 {'V', 'L', 0x252b},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1479 {'d', 'h', 0x252c},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1480 {'d', 'H', 0x252f},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1481 {'D', 'h', 0x2530},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1482 {'D', 'H', 0x2533},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1483 {'u', 'h', 0x2534},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1484 {'u', 'H', 0x2537},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1485 {'U', 'h', 0x2538},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1486 {'U', 'H', 0x253b},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1487 {'v', 'h', 0x253c},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1488 {'v', 'H', 0x253f},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1489 {'V', 'h', 0x2542},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1490 {'V', 'H', 0x254b},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1491 {'F', 'D', 0x2571},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1492 {'B', 'D', 0x2572},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
1493 #define DG_START_BLOCK 0x2580
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1494 {'T', 'B', 0x2580},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1495 {'L', 'B', 0x2584},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1496 {'F', 'B', 0x2588},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1497 {'l', 'B', 0x258c},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1498 {'R', 'B', 0x2590},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1499 {'.', 'S', 0x2591},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1500 {':', 'S', 0x2592},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1501 {'?', 'S', 0x2593},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
1502 #define DG_START_SHAPES 0x25a0
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1503 {'f', 'S', 0x25a0},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1504 {'O', 'S', 0x25a1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1505 {'R', 'O', 0x25a2},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1506 {'R', 'r', 0x25a3},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1507 {'R', 'F', 0x25a4},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1508 {'R', 'Y', 0x25a5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1509 {'R', 'H', 0x25a6},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1510 {'R', 'Z', 0x25a7},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1511 {'R', 'K', 0x25a8},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1512 {'R', 'X', 0x25a9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1513 {'s', 'B', 0x25aa},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1514 {'S', 'R', 0x25ac},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1515 {'O', 'r', 0x25ad},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1516 {'U', 'T', 0x25b2},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1517 {'u', 'T', 0x25b3},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1518 {'P', 'R', 0x25b6},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1519 {'T', 'r', 0x25b7},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1520 {'D', 't', 0x25bc},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1521 {'d', 'T', 0x25bd},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1522 {'P', 'L', 0x25c0},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1523 {'T', 'l', 0x25c1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1524 {'D', 'b', 0x25c6},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1525 {'D', 'w', 0x25c7},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1526 {'L', 'Z', 0x25ca},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1527 {'0', 'm', 0x25cb},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1528 {'0', 'o', 0x25ce},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1529 {'0', 'M', 0x25cf},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1530 {'0', 'L', 0x25d0},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1531 {'0', 'R', 0x25d1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1532 {'S', 'n', 0x25d8},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1533 {'I', 'c', 0x25d9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1534 {'F', 'd', 0x25e2},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1535 {'B', 'd', 0x25e3},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
1536 #define DG_START_SYMBOLS 0x2605
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1537 {'*', '2', 0x2605},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1538 {'*', '1', 0x2606},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1539 {'<', 'H', 0x261c},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1540 {'>', 'H', 0x261e},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1541 {'0', 'u', 0x263a},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1542 {'0', 'U', 0x263b},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1543 {'S', 'U', 0x263c},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1544 {'F', 'm', 0x2640},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1545 {'M', 'l', 0x2642},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1546 {'c', 'S', 0x2660},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1547 {'c', 'H', 0x2661},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1548 {'c', 'D', 0x2662},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1549 {'c', 'C', 0x2663},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1550 {'M', 'd', 0x2669},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1551 {'M', '8', 0x266a},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1552 {'M', '2', 0x266b},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1553 {'M', 'b', 0x266d},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1554 {'M', 'x', 0x266e},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1555 {'M', 'X', 0x266f},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
1556 #define DG_START_DINGBATS 0x2713
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1557 {'O', 'K', 0x2713},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1558 {'X', 'X', 0x2717},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1559 {'-', 'X', 0x2720},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
1560 #define DG_START_CJK_SYMBOLS 0x3000
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1561 {'I', 'S', 0x3000},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1562 {',', '_', 0x3001},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1563 {'.', '_', 0x3002},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1564 {'+', '"', 0x3003},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1565 {'+', '_', 0x3004},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1566 {'*', '_', 0x3005},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1567 {';', '_', 0x3006},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1568 {'0', '_', 0x3007},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1569 {'<', '+', 0x300a},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1570 {'>', '+', 0x300b},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1571 {'<', '\'', 0x300c},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1572 {'>', '\'', 0x300d},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1573 {'<', '"', 0x300e},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1574 {'>', '"', 0x300f},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1575 {'(', '"', 0x3010},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1576 {')', '"', 0x3011},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1577 {'=', 'T', 0x3012},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1578 {'=', '_', 0x3013},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1579 {'(', '\'', 0x3014},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1580 {')', '\'', 0x3015},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1581 {'(', 'I', 0x3016},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1582 {')', 'I', 0x3017},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1583 {'-', '?', 0x301c},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
1584 #define DG_START_HIRAGANA 0x3041
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1585 {'A', '5', 0x3041},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1586 {'a', '5', 0x3042},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1587 {'I', '5', 0x3043},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1588 {'i', '5', 0x3044},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1589 {'U', '5', 0x3045},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1590 {'u', '5', 0x3046},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1591 {'E', '5', 0x3047},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1592 {'e', '5', 0x3048},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1593 {'O', '5', 0x3049},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1594 {'o', '5', 0x304a},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1595 {'k', 'a', 0x304b},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1596 {'g', 'a', 0x304c},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1597 {'k', 'i', 0x304d},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1598 {'g', 'i', 0x304e},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1599 {'k', 'u', 0x304f},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1600 {'g', 'u', 0x3050},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1601 {'k', 'e', 0x3051},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1602 {'g', 'e', 0x3052},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1603 {'k', 'o', 0x3053},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1604 {'g', 'o', 0x3054},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1605 {'s', 'a', 0x3055},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1606 {'z', 'a', 0x3056},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1607 {'s', 'i', 0x3057},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1608 {'z', 'i', 0x3058},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1609 {'s', 'u', 0x3059},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1610 {'z', 'u', 0x305a},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1611 {'s', 'e', 0x305b},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1612 {'z', 'e', 0x305c},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1613 {'s', 'o', 0x305d},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1614 {'z', 'o', 0x305e},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1615 {'t', 'a', 0x305f},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1616 {'d', 'a', 0x3060},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1617 {'t', 'i', 0x3061},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1618 {'d', 'i', 0x3062},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1619 {'t', 'U', 0x3063},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1620 {'t', 'u', 0x3064},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1621 {'d', 'u', 0x3065},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1622 {'t', 'e', 0x3066},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1623 {'d', 'e', 0x3067},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1624 {'t', 'o', 0x3068},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1625 {'d', 'o', 0x3069},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1626 {'n', 'a', 0x306a},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1627 {'n', 'i', 0x306b},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1628 {'n', 'u', 0x306c},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1629 {'n', 'e', 0x306d},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1630 {'n', 'o', 0x306e},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1631 {'h', 'a', 0x306f},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1632 {'b', 'a', 0x3070},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1633 {'p', 'a', 0x3071},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1634 {'h', 'i', 0x3072},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1635 {'b', 'i', 0x3073},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1636 {'p', 'i', 0x3074},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1637 {'h', 'u', 0x3075},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1638 {'b', 'u', 0x3076},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1639 {'p', 'u', 0x3077},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1640 {'h', 'e', 0x3078},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1641 {'b', 'e', 0x3079},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1642 {'p', 'e', 0x307a},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1643 {'h', 'o', 0x307b},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1644 {'b', 'o', 0x307c},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1645 {'p', 'o', 0x307d},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1646 {'m', 'a', 0x307e},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1647 {'m', 'i', 0x307f},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1648 {'m', 'u', 0x3080},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1649 {'m', 'e', 0x3081},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1650 {'m', 'o', 0x3082},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1651 {'y', 'A', 0x3083},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1652 {'y', 'a', 0x3084},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1653 {'y', 'U', 0x3085},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1654 {'y', 'u', 0x3086},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1655 {'y', 'O', 0x3087},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1656 {'y', 'o', 0x3088},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1657 {'r', 'a', 0x3089},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1658 {'r', 'i', 0x308a},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1659 {'r', 'u', 0x308b},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1660 {'r', 'e', 0x308c},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1661 {'r', 'o', 0x308d},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1662 {'w', 'A', 0x308e},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1663 {'w', 'a', 0x308f},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1664 {'w', 'i', 0x3090},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1665 {'w', 'e', 0x3091},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1666 {'w', 'o', 0x3092},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1667 {'n', '5', 0x3093},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1668 {'v', 'u', 0x3094},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1669 {'"', '5', 0x309b},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1670 {'0', '5', 0x309c},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1671 {'*', '5', 0x309d},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1672 {'+', '5', 0x309e},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
1673 #define DG_START_KATAKANA 0x30a1
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1674 {'a', '6', 0x30a1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1675 {'A', '6', 0x30a2},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1676 {'i', '6', 0x30a3},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1677 {'I', '6', 0x30a4},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1678 {'u', '6', 0x30a5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1679 {'U', '6', 0x30a6},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1680 {'e', '6', 0x30a7},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1681 {'E', '6', 0x30a8},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1682 {'o', '6', 0x30a9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1683 {'O', '6', 0x30aa},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1684 {'K', 'a', 0x30ab},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1685 {'G', 'a', 0x30ac},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1686 {'K', 'i', 0x30ad},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1687 {'G', 'i', 0x30ae},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1688 {'K', 'u', 0x30af},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1689 {'G', 'u', 0x30b0},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1690 {'K', 'e', 0x30b1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1691 {'G', 'e', 0x30b2},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1692 {'K', 'o', 0x30b3},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1693 {'G', 'o', 0x30b4},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1694 {'S', 'a', 0x30b5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1695 {'Z', 'a', 0x30b6},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1696 {'S', 'i', 0x30b7},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1697 {'Z', 'i', 0x30b8},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1698 {'S', 'u', 0x30b9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1699 {'Z', 'u', 0x30ba},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1700 {'S', 'e', 0x30bb},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1701 {'Z', 'e', 0x30bc},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1702 {'S', 'o', 0x30bd},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1703 {'Z', 'o', 0x30be},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1704 {'T', 'a', 0x30bf},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1705 {'D', 'a', 0x30c0},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1706 {'T', 'i', 0x30c1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1707 {'D', 'i', 0x30c2},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1708 {'T', 'U', 0x30c3},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1709 {'T', 'u', 0x30c4},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1710 {'D', 'u', 0x30c5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1711 {'T', 'e', 0x30c6},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1712 {'D', 'e', 0x30c7},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1713 {'T', 'o', 0x30c8},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1714 {'D', 'o', 0x30c9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1715 {'N', 'a', 0x30ca},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1716 {'N', 'i', 0x30cb},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1717 {'N', 'u', 0x30cc},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1718 {'N', 'e', 0x30cd},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1719 {'N', 'o', 0x30ce},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1720 {'H', 'a', 0x30cf},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1721 {'B', 'a', 0x30d0},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1722 {'P', 'a', 0x30d1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1723 {'H', 'i', 0x30d2},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1724 {'B', 'i', 0x30d3},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1725 {'P', 'i', 0x30d4},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1726 {'H', 'u', 0x30d5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1727 {'B', 'u', 0x30d6},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1728 {'P', 'u', 0x30d7},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1729 {'H', 'e', 0x30d8},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1730 {'B', 'e', 0x30d9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1731 {'P', 'e', 0x30da},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1732 {'H', 'o', 0x30db},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1733 {'B', 'o', 0x30dc},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1734 {'P', 'o', 0x30dd},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1735 {'M', 'a', 0x30de},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1736 {'M', 'i', 0x30df},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1737 {'M', 'u', 0x30e0},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1738 {'M', 'e', 0x30e1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1739 {'M', 'o', 0x30e2},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1740 {'Y', 'A', 0x30e3},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1741 {'Y', 'a', 0x30e4},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1742 {'Y', 'U', 0x30e5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1743 {'Y', 'u', 0x30e6},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1744 {'Y', 'O', 0x30e7},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1745 {'Y', 'o', 0x30e8},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1746 {'R', 'a', 0x30e9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1747 {'R', 'i', 0x30ea},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1748 {'R', 'u', 0x30eb},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1749 {'R', 'e', 0x30ec},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1750 {'R', 'o', 0x30ed},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1751 {'W', 'A', 0x30ee},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1752 {'W', 'a', 0x30ef},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1753 {'W', 'i', 0x30f0},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1754 {'W', 'e', 0x30f1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1755 {'W', 'o', 0x30f2},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1756 {'N', '6', 0x30f3},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1757 {'V', 'u', 0x30f4},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1758 {'K', 'A', 0x30f5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1759 {'K', 'E', 0x30f6},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1760 {'V', 'a', 0x30f7},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1761 {'V', 'i', 0x30f8},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1762 {'V', 'e', 0x30f9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1763 {'V', 'o', 0x30fa},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1764 {'.', '6', 0x30fb},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1765 {'-', '6', 0x30fc},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1766 {'*', '6', 0x30fd},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1767 {'+', '6', 0x30fe},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
1768 #define DG_START_BOPOMOFO 0x3105
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1769 {'b', '4', 0x3105},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1770 {'p', '4', 0x3106},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1771 {'m', '4', 0x3107},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1772 {'f', '4', 0x3108},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1773 {'d', '4', 0x3109},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1774 {'t', '4', 0x310a},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1775 {'n', '4', 0x310b},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1776 {'l', '4', 0x310c},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1777 {'g', '4', 0x310d},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1778 {'k', '4', 0x310e},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1779 {'h', '4', 0x310f},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1780 {'j', '4', 0x3110},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1781 {'q', '4', 0x3111},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1782 {'x', '4', 0x3112},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1783 {'z', 'h', 0x3113},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1784 {'c', 'h', 0x3114},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1785 {'s', 'h', 0x3115},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1786 {'r', '4', 0x3116},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1787 {'z', '4', 0x3117},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1788 {'c', '4', 0x3118},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1789 {'s', '4', 0x3119},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1790 {'a', '4', 0x311a},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1791 {'o', '4', 0x311b},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1792 {'e', '4', 0x311c},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1793 {'a', 'i', 0x311e},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1794 {'e', 'i', 0x311f},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1795 {'a', 'u', 0x3120},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1796 {'o', 'u', 0x3121},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1797 {'a', 'n', 0x3122},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1798 {'e', 'n', 0x3123},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1799 {'a', 'N', 0x3124},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1800 {'e', 'N', 0x3125},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1801 {'e', 'r', 0x3126},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1802 {'i', '4', 0x3127},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1803 {'u', '4', 0x3128},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1804 {'i', 'u', 0x3129},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1805 {'v', '4', 0x312a},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1806 {'n', 'G', 0x312b},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1807 {'g', 'n', 0x312c},
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
1808 #define DG_START_OTHER3 0x3220
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1809 {'1', 'c', 0x3220},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1810 {'2', 'c', 0x3221},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1811 {'3', 'c', 0x3222},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1812 {'4', 'c', 0x3223},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1813 {'5', 'c', 0x3224},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1814 {'6', 'c', 0x3225},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1815 {'7', 'c', 0x3226},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1816 {'8', 'c', 0x3227},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1817 {'9', 'c', 0x3228},
2132
89300f5e013c updated for version 7.2.414
Bram Moolenaar <bram@zimbu.org>
parents: 1870
diff changeset
1818 /* code points 0xe000 - 0xefff excluded, they have no assigned
89300f5e013c updated for version 7.2.414
Bram Moolenaar <bram@zimbu.org>
parents: 1870
diff changeset
1819 * characters, only used in proposals. */
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1820 {'f', 'f', 0xfb00},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1821 {'f', 'i', 0xfb01},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1822 {'f', 'l', 0xfb02},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1823 {'f', 't', 0xfb05},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1824 {'s', 't', 0xfb06},
1478
fa07532e69c6 updated for version 7.1-193
vimboss
parents: 1389
diff changeset
1825
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1826 {NUL, NUL, NUL}
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1827 };
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1828
15595
1ec942f1b648 patch 8.1.0805: too many #ifdefs
Bram Moolenaar <Bram@vim.org>
parents: 15470
diff changeset
1829 # endif /* OLD_DIGRAPHS */
8212
05b88224cea1 commit https://github.com/vim/vim/commit/48e330aff911be1c798c88a973af6437a8141fce
Christian Brabandt <cb@256bit.org>
parents: 7817
diff changeset
1830 # endif /* EBCDIC */
05b88224cea1 commit https://github.com/vim/vim/commit/48e330aff911be1c798c88a973af6437a8141fce
Christian Brabandt <cb@256bit.org>
parents: 7817
diff changeset
1831 # endif /* !HPUX_DIGRAPHS */
05b88224cea1 commit https://github.com/vim/vim/commit/48e330aff911be1c798c88a973af6437a8141fce
Christian Brabandt <cb@256bit.org>
parents: 7817
diff changeset
1832 #endif /* !__MINT__ */
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1833
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1834 /*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1835 * handle digraphs after typing a character
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1836 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1837 int
7817
83861277e6a3 commit https://github.com/vim/vim/commit/7454a06e2642d2b37afad1c5e71cec68081ca4ff
Christian Brabandt <cb@256bit.org>
parents: 7799
diff changeset
1838 do_digraph(int c)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1839 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1840 static int backspaced; /* character before K_BS */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1841 static int lastchar; /* last typed character */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1842
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1843 if (c == -1) /* init values */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1844 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1845 backspaced = -1;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1846 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1847 else if (p_dg)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1848 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1849 if (backspaced >= 0)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1850 c = getdigraph(backspaced, c, FALSE);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1851 backspaced = -1;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1852 if ((c == K_BS || c == Ctrl_H) && lastchar >= 0)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1853 backspaced = lastchar;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1854 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1855 lastchar = c;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1856 return c;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1857 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1858
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1859 /*
13359
81c348d40312 patch 8.0.1553: cannot see what digraph is used to insert a character
Christian Brabandt <cb@256bit.org>
parents: 13121
diff changeset
1860 * Find a digraph for "val". If found return the string to display it.
81c348d40312 patch 8.0.1553: cannot see what digraph is used to insert a character
Christian Brabandt <cb@256bit.org>
parents: 13121
diff changeset
1861 * If not found return NULL.
81c348d40312 patch 8.0.1553: cannot see what digraph is used to insert a character
Christian Brabandt <cb@256bit.org>
parents: 13121
diff changeset
1862 */
81c348d40312 patch 8.0.1553: cannot see what digraph is used to insert a character
Christian Brabandt <cb@256bit.org>
parents: 13121
diff changeset
1863 char_u *
14083
8a9a00357676 patch 8.1.0059: displayed digraph for "ga" wrong with 'encoding' "cp1251"
Christian Brabandt <cb@256bit.org>
parents: 13359
diff changeset
1864 get_digraph_for_char(int val_arg)
13359
81c348d40312 patch 8.0.1553: cannot see what digraph is used to insert a character
Christian Brabandt <cb@256bit.org>
parents: 13121
diff changeset
1865 {
14083
8a9a00357676 patch 8.1.0059: displayed digraph for "ga" wrong with 'encoding' "cp1251"
Christian Brabandt <cb@256bit.org>
parents: 13359
diff changeset
1866 int val = val_arg;
13359
81c348d40312 patch 8.0.1553: cannot see what digraph is used to insert a character
Christian Brabandt <cb@256bit.org>
parents: 13121
diff changeset
1867 int i;
81c348d40312 patch 8.0.1553: cannot see what digraph is used to insert a character
Christian Brabandt <cb@256bit.org>
parents: 13121
diff changeset
1868 int use_defaults;
81c348d40312 patch 8.0.1553: cannot see what digraph is used to insert a character
Christian Brabandt <cb@256bit.org>
parents: 13121
diff changeset
1869 digr_T *dp;
81c348d40312 patch 8.0.1553: cannot see what digraph is used to insert a character
Christian Brabandt <cb@256bit.org>
parents: 13121
diff changeset
1870 static char_u r[3];
81c348d40312 patch 8.0.1553: cannot see what digraph is used to insert a character
Christian Brabandt <cb@256bit.org>
parents: 13121
diff changeset
1871
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
1872 #if defined(USE_UNICODE_DIGRAPHS)
14083
8a9a00357676 patch 8.1.0059: displayed digraph for "ga" wrong with 'encoding' "cp1251"
Christian Brabandt <cb@256bit.org>
parents: 13359
diff changeset
1873 if (!enc_utf8)
8a9a00357676 patch 8.1.0059: displayed digraph for "ga" wrong with 'encoding' "cp1251"
Christian Brabandt <cb@256bit.org>
parents: 13359
diff changeset
1874 {
8a9a00357676 patch 8.1.0059: displayed digraph for "ga" wrong with 'encoding' "cp1251"
Christian Brabandt <cb@256bit.org>
parents: 13359
diff changeset
1875 char_u buf[6], *to;
8a9a00357676 patch 8.1.0059: displayed digraph for "ga" wrong with 'encoding' "cp1251"
Christian Brabandt <cb@256bit.org>
parents: 13359
diff changeset
1876 vimconv_T vc;
8a9a00357676 patch 8.1.0059: displayed digraph for "ga" wrong with 'encoding' "cp1251"
Christian Brabandt <cb@256bit.org>
parents: 13359
diff changeset
1877
8a9a00357676 patch 8.1.0059: displayed digraph for "ga" wrong with 'encoding' "cp1251"
Christian Brabandt <cb@256bit.org>
parents: 13359
diff changeset
1878 // convert the character from 'encoding' to Unicode
8a9a00357676 patch 8.1.0059: displayed digraph for "ga" wrong with 'encoding' "cp1251"
Christian Brabandt <cb@256bit.org>
parents: 13359
diff changeset
1879 i = mb_char2bytes(val, buf);
8a9a00357676 patch 8.1.0059: displayed digraph for "ga" wrong with 'encoding' "cp1251"
Christian Brabandt <cb@256bit.org>
parents: 13359
diff changeset
1880 vc.vc_type = CONV_NONE;
8a9a00357676 patch 8.1.0059: displayed digraph for "ga" wrong with 'encoding' "cp1251"
Christian Brabandt <cb@256bit.org>
parents: 13359
diff changeset
1881 if (convert_setup(&vc, p_enc, (char_u *)"utf-8") == OK)
8a9a00357676 patch 8.1.0059: displayed digraph for "ga" wrong with 'encoding' "cp1251"
Christian Brabandt <cb@256bit.org>
parents: 13359
diff changeset
1882 {
8a9a00357676 patch 8.1.0059: displayed digraph for "ga" wrong with 'encoding' "cp1251"
Christian Brabandt <cb@256bit.org>
parents: 13359
diff changeset
1883 vc.vc_fail = TRUE;
8a9a00357676 patch 8.1.0059: displayed digraph for "ga" wrong with 'encoding' "cp1251"
Christian Brabandt <cb@256bit.org>
parents: 13359
diff changeset
1884 to = string_convert(&vc, buf, &i);
8a9a00357676 patch 8.1.0059: displayed digraph for "ga" wrong with 'encoding' "cp1251"
Christian Brabandt <cb@256bit.org>
parents: 13359
diff changeset
1885 if (to != NULL)
8a9a00357676 patch 8.1.0059: displayed digraph for "ga" wrong with 'encoding' "cp1251"
Christian Brabandt <cb@256bit.org>
parents: 13359
diff changeset
1886 {
8a9a00357676 patch 8.1.0059: displayed digraph for "ga" wrong with 'encoding' "cp1251"
Christian Brabandt <cb@256bit.org>
parents: 13359
diff changeset
1887 val = utf_ptr2char(to);
8a9a00357676 patch 8.1.0059: displayed digraph for "ga" wrong with 'encoding' "cp1251"
Christian Brabandt <cb@256bit.org>
parents: 13359
diff changeset
1888 vim_free(to);
8a9a00357676 patch 8.1.0059: displayed digraph for "ga" wrong with 'encoding' "cp1251"
Christian Brabandt <cb@256bit.org>
parents: 13359
diff changeset
1889 }
8a9a00357676 patch 8.1.0059: displayed digraph for "ga" wrong with 'encoding' "cp1251"
Christian Brabandt <cb@256bit.org>
parents: 13359
diff changeset
1890 (void)convert_setup(&vc, NULL, NULL);
8a9a00357676 patch 8.1.0059: displayed digraph for "ga" wrong with 'encoding' "cp1251"
Christian Brabandt <cb@256bit.org>
parents: 13359
diff changeset
1891 }
8a9a00357676 patch 8.1.0059: displayed digraph for "ga" wrong with 'encoding' "cp1251"
Christian Brabandt <cb@256bit.org>
parents: 13359
diff changeset
1892 }
8a9a00357676 patch 8.1.0059: displayed digraph for "ga" wrong with 'encoding' "cp1251"
Christian Brabandt <cb@256bit.org>
parents: 13359
diff changeset
1893 #endif
8a9a00357676 patch 8.1.0059: displayed digraph for "ga" wrong with 'encoding' "cp1251"
Christian Brabandt <cb@256bit.org>
parents: 13359
diff changeset
1894
13359
81c348d40312 patch 8.0.1553: cannot see what digraph is used to insert a character
Christian Brabandt <cb@256bit.org>
parents: 13121
diff changeset
1895 for (use_defaults = 0; use_defaults <= 1; use_defaults++)
81c348d40312 patch 8.0.1553: cannot see what digraph is used to insert a character
Christian Brabandt <cb@256bit.org>
parents: 13121
diff changeset
1896 {
81c348d40312 patch 8.0.1553: cannot see what digraph is used to insert a character
Christian Brabandt <cb@256bit.org>
parents: 13121
diff changeset
1897 if (use_defaults == 0)
81c348d40312 patch 8.0.1553: cannot see what digraph is used to insert a character
Christian Brabandt <cb@256bit.org>
parents: 13121
diff changeset
1898 dp = (digr_T *)user_digraphs.ga_data;
81c348d40312 patch 8.0.1553: cannot see what digraph is used to insert a character
Christian Brabandt <cb@256bit.org>
parents: 13121
diff changeset
1899 else
81c348d40312 patch 8.0.1553: cannot see what digraph is used to insert a character
Christian Brabandt <cb@256bit.org>
parents: 13121
diff changeset
1900 dp = digraphdefault;
81c348d40312 patch 8.0.1553: cannot see what digraph is used to insert a character
Christian Brabandt <cb@256bit.org>
parents: 13121
diff changeset
1901 for (i = 0; use_defaults ? dp->char1 != NUL
81c348d40312 patch 8.0.1553: cannot see what digraph is used to insert a character
Christian Brabandt <cb@256bit.org>
parents: 13121
diff changeset
1902 : i < user_digraphs.ga_len; ++i)
81c348d40312 patch 8.0.1553: cannot see what digraph is used to insert a character
Christian Brabandt <cb@256bit.org>
parents: 13121
diff changeset
1903 {
81c348d40312 patch 8.0.1553: cannot see what digraph is used to insert a character
Christian Brabandt <cb@256bit.org>
parents: 13121
diff changeset
1904 if (dp->result == val)
81c348d40312 patch 8.0.1553: cannot see what digraph is used to insert a character
Christian Brabandt <cb@256bit.org>
parents: 13121
diff changeset
1905 {
81c348d40312 patch 8.0.1553: cannot see what digraph is used to insert a character
Christian Brabandt <cb@256bit.org>
parents: 13121
diff changeset
1906 r[0] = dp->char1;
81c348d40312 patch 8.0.1553: cannot see what digraph is used to insert a character
Christian Brabandt <cb@256bit.org>
parents: 13121
diff changeset
1907 r[1] = dp->char2;
81c348d40312 patch 8.0.1553: cannot see what digraph is used to insert a character
Christian Brabandt <cb@256bit.org>
parents: 13121
diff changeset
1908 r[2] = NUL;
81c348d40312 patch 8.0.1553: cannot see what digraph is used to insert a character
Christian Brabandt <cb@256bit.org>
parents: 13121
diff changeset
1909 return r;
81c348d40312 patch 8.0.1553: cannot see what digraph is used to insert a character
Christian Brabandt <cb@256bit.org>
parents: 13121
diff changeset
1910 }
81c348d40312 patch 8.0.1553: cannot see what digraph is used to insert a character
Christian Brabandt <cb@256bit.org>
parents: 13121
diff changeset
1911 ++dp;
81c348d40312 patch 8.0.1553: cannot see what digraph is used to insert a character
Christian Brabandt <cb@256bit.org>
parents: 13121
diff changeset
1912 }
81c348d40312 patch 8.0.1553: cannot see what digraph is used to insert a character
Christian Brabandt <cb@256bit.org>
parents: 13121
diff changeset
1913 }
81c348d40312 patch 8.0.1553: cannot see what digraph is used to insert a character
Christian Brabandt <cb@256bit.org>
parents: 13121
diff changeset
1914 return NULL;
81c348d40312 patch 8.0.1553: cannot see what digraph is used to insert a character
Christian Brabandt <cb@256bit.org>
parents: 13121
diff changeset
1915 }
81c348d40312 patch 8.0.1553: cannot see what digraph is used to insert a character
Christian Brabandt <cb@256bit.org>
parents: 13121
diff changeset
1916
81c348d40312 patch 8.0.1553: cannot see what digraph is used to insert a character
Christian Brabandt <cb@256bit.org>
parents: 13121
diff changeset
1917 /*
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1918 * Get a digraph. Used after typing CTRL-K on the command line or in normal
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1919 * mode.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1920 * Returns composed character, or NUL when ESC was used.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1921 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1922 int
7817
83861277e6a3 commit https://github.com/vim/vim/commit/7454a06e2642d2b37afad1c5e71cec68081ca4ff
Christian Brabandt <cb@256bit.org>
parents: 7799
diff changeset
1923 get_digraph(
83861277e6a3 commit https://github.com/vim/vim/commit/7454a06e2642d2b37afad1c5e71cec68081ca4ff
Christian Brabandt <cb@256bit.org>
parents: 7799
diff changeset
1924 int cmdline) /* TRUE when called from the cmdline */
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1925 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1926 int c, cc;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1927
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1928 ++no_mapping;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1929 ++allow_keys;
1389
bdcfe793d49f updated for version 7.1-104
vimboss
parents: 1308
diff changeset
1930 c = plain_vgetc();
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1931 --no_mapping;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1932 --allow_keys;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1933 if (c != ESC) /* ESC cancels CTRL-K */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1934 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1935 if (IS_SPECIAL(c)) /* insert special key code */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1936 return c;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1937 if (cmdline)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1938 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1939 if (char2cells(c) == 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1940 #if defined(FEAT_CRYPT) || defined(FEAT_EVAL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1941 && cmdline_star == 0
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1942 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1943 )
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1944 putcmdline(c, TRUE);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1945 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1946 #ifdef FEAT_CMDL_INFO
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1947 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1948 add_to_showcmd(c);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1949 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1950 ++no_mapping;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1951 ++allow_keys;
1389
bdcfe793d49f updated for version 7.1-104
vimboss
parents: 1308
diff changeset
1952 cc = plain_vgetc();
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1953 --no_mapping;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1954 --allow_keys;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1955 if (cc != ESC) /* ESC cancels CTRL-K */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1956 return getdigraph(c, cc, TRUE);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1957 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1958 return NUL;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1959 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1960
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1961 /*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1962 * Lookup the pair "char1", "char2" in the digraph tables.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1963 * If no match, return "char2".
3263
320cc46d0eb0 updated for version 7.3.400
Bram Moolenaar <bram@vim.org>
parents: 2132
diff changeset
1964 * If "meta_char" is TRUE and "char1" is a space, return "char2" | 0x80.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1965 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1966 static int
7817
83861277e6a3 commit https://github.com/vim/vim/commit/7454a06e2642d2b37afad1c5e71cec68081ca4ff
Christian Brabandt <cb@256bit.org>
parents: 7799
diff changeset
1967 getexactdigraph(int char1, int char2, int meta_char)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1968 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1969 int i;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1970 int retval = 0;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1971 digr_T *dp;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1972
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1973 if (IS_SPECIAL(char1) || IS_SPECIAL(char2))
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1974 return char2;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1975
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1976 /*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1977 * Search user digraphs first.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1978 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1979 dp = (digr_T *)user_digraphs.ga_data;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1980 for (i = 0; i < user_digraphs.ga_len; ++i)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1981 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1982 if ((int)dp->char1 == char1 && (int)dp->char2 == char2)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1983 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1984 retval = dp->result;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1985 break;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1986 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1987 ++dp;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1988 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1989
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1990 /*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1991 * Search default digraphs.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1992 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1993 if (retval == 0)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1994 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1995 dp = digraphdefault;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1996 for (i = 0; dp->char1 != 0; ++i)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1997 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1998 if ((int)dp->char1 == char1 && (int)dp->char2 == char2)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1999 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2000 retval = dp->result;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2001 break;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2002 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2003 ++dp;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2004 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2005 }
15595
1ec942f1b648 patch 8.1.0805: too many #ifdefs
Bram Moolenaar <Bram@vim.org>
parents: 15470
diff changeset
2006 #ifdef USE_UNICODE_DIGRAPHS
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2007 if (retval != 0 && !enc_utf8)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2008 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2009 char_u buf[6], *to;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2010 vimconv_T vc;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2011
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2012 /*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2013 * Convert the Unicode digraph to 'encoding'.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2014 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2015 i = utf_char2bytes(retval, buf);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2016 retval = 0;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2017 vc.vc_type = CONV_NONE;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2018 if (convert_setup(&vc, (char_u *)"utf-8", p_enc) == OK)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2019 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2020 vc.vc_fail = TRUE;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2021 to = string_convert(&vc, buf, &i);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2022 if (to != NULL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2023 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2024 retval = (*mb_ptr2char)(to);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2025 vim_free(to);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2026 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2027 (void)convert_setup(&vc, NULL, NULL);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2028 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2029 }
15595
1ec942f1b648 patch 8.1.0805: too many #ifdefs
Bram Moolenaar <Bram@vim.org>
parents: 15470
diff changeset
2030 #endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2031
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2032 /* Ignore multi-byte characters when not in multi-byte mode. */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2033 if (!has_mbyte && retval > 0xff)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2034 retval = 0;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2035
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2036 if (retval == 0) /* digraph deleted or not found */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2037 {
3263
320cc46d0eb0 updated for version 7.3.400
Bram Moolenaar <bram@vim.org>
parents: 2132
diff changeset
2038 if (char1 == ' ' && meta_char) /* <space> <char> --> meta-char */
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2039 return (char2 | 0x80);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2040 return char2;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2041 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2042 return retval;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2043 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2044
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2045 /*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2046 * Get digraph.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2047 * Allow for both char1-char2 and char2-char1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2048 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2049 int
7817
83861277e6a3 commit https://github.com/vim/vim/commit/7454a06e2642d2b37afad1c5e71cec68081ca4ff
Christian Brabandt <cb@256bit.org>
parents: 7799
diff changeset
2050 getdigraph(int char1, int char2, int meta_char)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2051 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2052 int retval;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2053
3263
320cc46d0eb0 updated for version 7.3.400
Bram Moolenaar <bram@vim.org>
parents: 2132
diff changeset
2054 if (((retval = getexactdigraph(char1, char2, meta_char)) == char2)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2055 && (char1 != char2)
3263
320cc46d0eb0 updated for version 7.3.400
Bram Moolenaar <bram@vim.org>
parents: 2132
diff changeset
2056 && ((retval = getexactdigraph(char2, char1, meta_char)) == char1))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2057 return char2;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2058 return retval;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2059 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2060
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2061 /*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2062 * Add the digraphs in the argument to the digraph table.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2063 * format: {c1}{c2} char {c1}{c2} char ...
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2064 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2065 void
7817
83861277e6a3 commit https://github.com/vim/vim/commit/7454a06e2642d2b37afad1c5e71cec68081ca4ff
Christian Brabandt <cb@256bit.org>
parents: 7799
diff changeset
2066 putdigraph(char_u *str)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2067 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2068 int char1, char2, n;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2069 int i;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2070 digr_T *dp;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2071
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2072 while (*str != NUL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2073 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2074 str = skipwhite(str);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2075 if (*str == NUL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2076 return;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2077 char1 = *str++;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2078 char2 = *str++;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2079 if (char2 == 0)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2080 {
15470
55ccc2d353bd patch 8.1.0743: giving error messages is not flexible
Bram Moolenaar <Bram@vim.org>
parents: 15152
diff changeset
2081 emsg(_(e_invarg));
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2082 return;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2083 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2084 if (char1 == ESC || char2 == ESC)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2085 {
15470
55ccc2d353bd patch 8.1.0743: giving error messages is not flexible
Bram Moolenaar <Bram@vim.org>
parents: 15152
diff changeset
2086 emsg(_("E104: Escape not allowed in digraph"));
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2087 return;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2088 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2089 str = skipwhite(str);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2090 if (!VIM_ISDIGIT(*str))
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2091 {
15470
55ccc2d353bd patch 8.1.0743: giving error messages is not flexible
Bram Moolenaar <Bram@vim.org>
parents: 15152
diff changeset
2092 emsg(_(e_number_exp));
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2093 return;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2094 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2095 n = getdigits(&str);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2096
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2097 /* If the digraph already exists, replace the result. */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2098 dp = (digr_T *)user_digraphs.ga_data;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2099 for (i = 0; i < user_digraphs.ga_len; ++i)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2100 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2101 if ((int)dp->char1 == char1 && (int)dp->char2 == char2)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2102 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2103 dp->result = n;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2104 break;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2105 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2106 ++dp;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2107 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2108
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2109 /* Add a new digraph to the table. */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2110 if (i == user_digraphs.ga_len)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2111 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2112 if (ga_grow(&user_digraphs, 1) == OK)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2113 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2114 dp = (digr_T *)user_digraphs.ga_data + user_digraphs.ga_len;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2115 dp->char1 = char1;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2116 dp->char2 = char2;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2117 dp->result = n;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2118 ++user_digraphs.ga_len;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2119 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2120 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2121 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2122 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2123
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2124 #if defined(USE_UNICODE_DIGRAPHS)
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2125 static void
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2126 digraph_header(char *msg)
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2127 {
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2128 if (msg_col > 0)
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2129 msg_putchar('\n');
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2130 msg_outtrans_attr((char_u *)msg, HL_ATTR(HLF_CM));
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2131 msg_putchar('\n');
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2132 }
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2133 #endif
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2134
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2135 void
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2136 listdigraphs(int use_headers)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2137 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2138 int i;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2139 digr_T *dp;
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2140 result_T previous = 0;
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2141
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2142 msg_putchar('\n');
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2143
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2144 dp = digraphdefault;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2145 for (i = 0; dp->char1 != NUL && !got_int; ++i)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2146 {
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2147 #if defined(USE_UNICODE_DIGRAPHS)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2148 digr_T tmp;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2149
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2150 /* May need to convert the result to 'encoding'. */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2151 tmp.char1 = dp->char1;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2152 tmp.char2 = dp->char2;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2153 tmp.result = getexactdigraph(tmp.char1, tmp.char2, FALSE);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2154 if (tmp.result != 0 && tmp.result != tmp.char2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2155 && (has_mbyte || tmp.result <= 255))
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2156 printdigraph(&tmp, use_headers ? &previous : NULL);
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2157 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2158
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2159 if (getexactdigraph(dp->char1, dp->char2, FALSE) == dp->result
15595
1ec942f1b648 patch 8.1.0805: too many #ifdefs
Bram Moolenaar <Bram@vim.org>
parents: 15470
diff changeset
2160 && (has_mbyte || dp->result <= 255))
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2161 printdigraph(dp, use_headers ? &previous : NULL);
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2162 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2163 ++dp;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2164 ui_breakcheck();
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2165 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2166
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2167 dp = (digr_T *)user_digraphs.ga_data;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2168 for (i = 0; i < user_digraphs.ga_len && !got_int; ++i)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2169 {
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2170 #if defined(USE_UNICODE_DIGRAPHS)
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2171 if (previous >= 0 && use_headers)
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2172 digraph_header(_("Custom"));
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2173 previous = -1;
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2174 #endif
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2175 printdigraph(dp, NULL);
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2176 ui_breakcheck();
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2177 ++dp;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2178 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2179 must_redraw = CLEAR; /* clear screen, because some digraphs may be
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2180 wrong, in which case we messed up ScreenLines */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2181 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2182
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2183 struct dg_header_entry {
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2184 int dg_start;
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2185 char *dg_header;
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2186 } header_table[] = {
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2187 {DG_START_LATIN, N_("Latin supplement")},
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2188 {DG_START_GREEK, N_("Greek and Coptic")},
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2189 {DG_START_CYRILLIC, N_("Cyrillic")},
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2190 {DG_START_HEBREW, N_("Hebrew")},
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2191 {DG_START_ARABIC, N_("Arabic")},
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2192 {DG_START_LATIN_EXTENDED, N_("Latin extended")},
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2193 {DG_START_GREEK_EXTENDED, N_("Greek extended")},
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2194 {DG_START_PUNCTUATION, N_("Punctuation")},
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2195 {DG_START_SUB_SUPER, N_("Super- and subscripts")},
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2196 {DG_START_CURRENCY, N_("Currency")},
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2197 {DG_START_OTHER1, N_("Other")},
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2198 {DG_START_ROMAN, N_("Roman numbers")},
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2199 {DG_START_ARROWS, N_("Arrows")},
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2200 {DG_START_MATH, N_("Mathematical operators")},
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2201 {DG_START_TECHNICAL, N_("Technical")},
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2202 {DG_START_OTHER2, N_("Other")},
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2203 {DG_START_DRAWING, N_("Box drawing")},
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2204 {DG_START_BLOCK, N_("Block elements")},
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2205 {DG_START_SHAPES, N_("Geometric shapes")},
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2206 {DG_START_SYMBOLS, N_("Symbols")},
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2207 {DG_START_DINGBATS, N_("Dingbats")},
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2208 {DG_START_CJK_SYMBOLS, N_("CJK symbols and punctuation")},
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2209 {DG_START_HIRAGANA, N_("Hiragana")},
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2210 {DG_START_KATAKANA, N_("Katakana")},
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2211 {DG_START_BOPOMOFO, N_("Bopomofo")},
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2212 {DG_START_OTHER3, N_("Other")},
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2213 {0xfffffff, NULL},
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2214 };
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2215
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2216 static void
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2217 printdigraph(digr_T *dp, result_T *previous)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2218 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2219 char_u buf[30];
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2220 char_u *p;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2221
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2222 int list_width;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2223
15595
1ec942f1b648 patch 8.1.0805: too many #ifdefs
Bram Moolenaar <Bram@vim.org>
parents: 15470
diff changeset
2224 if ((dy_flags & DY_UHEX) || has_mbyte)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2225 list_width = 13;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2226 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2227 list_width = 11;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2228
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2229 if (dp->result != 0)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2230 {
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2231 #if defined(USE_UNICODE_DIGRAPHS)
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2232 if (previous != NULL)
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2233 {
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2234 int i;
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2235
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2236 for (i = 0; header_table[i].dg_header != NULL; ++i)
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2237 if (*previous < header_table[i].dg_start
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2238 && dp->result >= header_table[i].dg_start
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2239 && dp->result < header_table[i + 1].dg_start)
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2240 {
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2241 digraph_header(_(header_table[i].dg_header));
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2242 break;
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2243 }
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2244 *previous = dp->result;
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2245 }
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2246 #endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2247 if (msg_col > Columns - list_width)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2248 msg_putchar('\n');
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2249 if (msg_col)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2250 while (msg_col % list_width != 0)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2251 msg_putchar(' ');
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2252
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2253 p = buf;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2254 *p++ = dp->char1;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2255 *p++ = dp->char2;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2256 *p++ = ' ';
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2257 *p = NUL;
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2258 msg_outtrans(buf);
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2259 p = buf;
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2260 if (has_mbyte)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2261 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2262 /* add a space to draw a composing char on */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2263 if (enc_utf8 && utf_iscomposing(dp->result))
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2264 *p++ = ' ';
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2265 p += (*mb_char2bytes)(dp->result, p);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2266 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2267 else
1869
720a59d79bcd updated for version 7.2-168
vimboss
parents: 1624
diff changeset
2268 *p++ = (char_u)dp->result;
15152
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2269 *p = NUL;
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2270 msg_outtrans_attr(buf, HL_ATTR(HLF_8));
1ef429366fd4 patch 8.1.0586: :digraph output is not easy to read
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
2271 p = buf;
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2272 if (char2cells(dp->result) == 1)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2273 *p++ = ' ';
1869
720a59d79bcd updated for version 7.2-168
vimboss
parents: 1624
diff changeset
2274 vim_snprintf((char *)p, sizeof(buf) - (p - buf), " %3d", dp->result);
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2275 msg_outtrans(buf);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2276 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2277 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2278
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2279 #endif /* FEAT_DIGRAPHS */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2280
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2281 #if defined(FEAT_KEYMAP) || defined(PROTO)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2282
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2283 /* structure used for b_kmap_ga.ga_data */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2284 typedef struct
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2285 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2286 char_u *from;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2287 char_u *to;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2288 } kmap_T;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2289
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2290 #define KMAP_MAXLEN 20 /* maximum length of "from" or "to" */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2291
7799
af3c41a3c53f commit https://github.com/vim/vim/commit/f28dbcea371b3a35727d91afc90fb90e0527d78a
Christian Brabandt <cb@256bit.org>
parents: 7408
diff changeset
2292 static void keymap_unload(void);
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2293
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2294 /*
1869
720a59d79bcd updated for version 7.2-168
vimboss
parents: 1624
diff changeset
2295 * Set up key mapping tables for the 'keymap' option.
720a59d79bcd updated for version 7.2-168
vimboss
parents: 1624
diff changeset
2296 * Returns NULL if OK, an error message for failure. This only needs to be
720a59d79bcd updated for version 7.2-168
vimboss
parents: 1624
diff changeset
2297 * used when setting the option, not later when the value has already been
720a59d79bcd updated for version 7.2-168
vimboss
parents: 1624
diff changeset
2298 * checked.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2299 */
15470
55ccc2d353bd patch 8.1.0743: giving error messages is not flexible
Bram Moolenaar <Bram@vim.org>
parents: 15152
diff changeset
2300 char *
7817
83861277e6a3 commit https://github.com/vim/vim/commit/7454a06e2642d2b37afad1c5e71cec68081ca4ff
Christian Brabandt <cb@256bit.org>
parents: 7799
diff changeset
2301 keymap_init(void)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2302 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2303 curbuf->b_kmap_state &= ~KEYMAP_INIT;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2304
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2305 if (*curbuf->b_p_keymap == NUL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2306 {
1308
e70c0d863e0c updated for version 7.1-022
vimboss
parents: 857
diff changeset
2307 /* Stop any active keymap and clear the table. Also remove
1389
bdcfe793d49f updated for version 7.1-104
vimboss
parents: 1308
diff changeset
2308 * b:keymap_name, as no keymap is active now. */
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2309 keymap_unload();
1308
e70c0d863e0c updated for version 7.1-022
vimboss
parents: 857
diff changeset
2310 do_cmdline_cmd((char_u *)"unlet! b:keymap_name");
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2311 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2312 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2313 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2314 char_u *buf;
1869
720a59d79bcd updated for version 7.2-168
vimboss
parents: 1624
diff changeset
2315 size_t buflen;
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2316
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2317 /* Source the keymap file. It will contain a ":loadkeymap" command
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2318 * which will call ex_loadkeymap() below. */
15595
1ec942f1b648 patch 8.1.0805: too many #ifdefs
Bram Moolenaar <Bram@vim.org>
parents: 15470
diff changeset
2319 buflen = STRLEN(curbuf->b_p_keymap) + STRLEN(p_enc) + 14;
16764
ef00b6bc186b patch 8.1.1384: using "int" for alloc() often results in compiler warnings
Bram Moolenaar <Bram@vim.org>
parents: 15595
diff changeset
2320 buf = alloc(buflen);
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2321 if (buf == NULL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2322 return e_outofmem;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2323
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2324 /* try finding "keymap/'keymap'_'encoding'.vim" in 'runtimepath' */
1869
720a59d79bcd updated for version 7.2-168
vimboss
parents: 1624
diff changeset
2325 vim_snprintf((char *)buf, buflen, "keymap/%s_%s.vim",
720a59d79bcd updated for version 7.2-168
vimboss
parents: 1624
diff changeset
2326 curbuf->b_p_keymap, p_enc);
8524
2f57bbe870ea commit https://github.com/vim/vim/commit/7f8989dd8a627af2185df381195351a913f3777f
Christian Brabandt <cb@256bit.org>
parents: 8212
diff changeset
2327 if (source_runtime(buf, 0) == FAIL)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2328 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2329 /* try finding "keymap/'keymap'.vim" in 'runtimepath' */
1869
720a59d79bcd updated for version 7.2-168
vimboss
parents: 1624
diff changeset
2330 vim_snprintf((char *)buf, buflen, "keymap/%s.vim",
720a59d79bcd updated for version 7.2-168
vimboss
parents: 1624
diff changeset
2331 curbuf->b_p_keymap);
8524
2f57bbe870ea commit https://github.com/vim/vim/commit/7f8989dd8a627af2185df381195351a913f3777f
Christian Brabandt <cb@256bit.org>
parents: 8212
diff changeset
2332 if (source_runtime(buf, 0) == FAIL)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2333 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2334 vim_free(buf);
15470
55ccc2d353bd patch 8.1.0743: giving error messages is not flexible
Bram Moolenaar <Bram@vim.org>
parents: 15152
diff changeset
2335 return N_("E544: Keymap file not found");
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2336 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2337 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2338 vim_free(buf);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2339 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2340
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2341 return NULL;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2342 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2343
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2344 /*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2345 * ":loadkeymap" command: load the following lines as the keymap.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2346 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2347 void
7817
83861277e6a3 commit https://github.com/vim/vim/commit/7454a06e2642d2b37afad1c5e71cec68081ca4ff
Christian Brabandt <cb@256bit.org>
parents: 7799
diff changeset
2348 ex_loadkeymap(exarg_T *eap)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2349 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2350 char_u *line;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2351 char_u *p;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2352 char_u *s;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2353 kmap_T *kp;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2354 #define KMAP_LLEN 200 /* max length of "to" and "from" together */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2355 char_u buf[KMAP_LLEN + 11];
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2356 int i;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2357 char_u *save_cpo = p_cpo;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2358
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2359 if (!getline_equal(eap->getline, eap->cookie, getsourceline))
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2360 {
15470
55ccc2d353bd patch 8.1.0743: giving error messages is not flexible
Bram Moolenaar <Bram@vim.org>
parents: 15152
diff changeset
2361 emsg(_("E105: Using :loadkeymap not in a sourced file"));
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2362 return;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2363 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2364
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2365 /*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2366 * Stop any active keymap and clear the table.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2367 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2368 keymap_unload();
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2369
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2370 curbuf->b_kmap_state = 0;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2371 ga_init2(&curbuf->b_kmap_ga, (int)sizeof(kmap_T), 20);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2372
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2373 /* Set 'cpoptions' to "C" to avoid line continuation. */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2374 p_cpo = (char_u *)"C";
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2375
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2376 /*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2377 * Get each line of the sourced file, break at the end.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2378 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2379 for (;;)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2380 {
17178
40c4cb095d53 patch 8.1.1588: in :let-heredoc line continuation is recognized
Bram Moolenaar <Bram@vim.org>
parents: 16764
diff changeset
2381 line = eap->getline(0, eap->cookie, 0, TRUE);
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2382 if (line == NULL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2383 break;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2384
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2385 p = skipwhite(line);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2386 if (*p != '"' && *p != NUL && ga_grow(&curbuf->b_kmap_ga, 1) == OK)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2387 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2388 kp = (kmap_T *)curbuf->b_kmap_ga.ga_data + curbuf->b_kmap_ga.ga_len;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2389 s = skiptowhite(p);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2390 kp->from = vim_strnsave(p, (int)(s - p));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2391 p = skipwhite(s);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2392 s = skiptowhite(p);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2393 kp->to = vim_strnsave(p, (int)(s - p));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2394
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2395 if (kp->from == NULL || kp->to == NULL
839
1f3b1021f002 updated for version 7.0e05
vimboss
parents: 523
diff changeset
2396 || STRLEN(kp->from) + STRLEN(kp->to) >= KMAP_LLEN
1f3b1021f002 updated for version 7.0e05
vimboss
parents: 523
diff changeset
2397 || *kp->from == NUL || *kp->to == NUL)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2398 {
839
1f3b1021f002 updated for version 7.0e05
vimboss
parents: 523
diff changeset
2399 if (kp->to != NULL && *kp->to == NUL)
15470
55ccc2d353bd patch 8.1.0743: giving error messages is not flexible
Bram Moolenaar <Bram@vim.org>
parents: 15152
diff changeset
2400 emsg(_("E791: Empty keymap entry"));
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2401 vim_free(kp->from);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2402 vim_free(kp->to);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2403 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2404 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2405 ++curbuf->b_kmap_ga.ga_len;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2406 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2407 vim_free(line);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2408 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2409
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2410 /*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2411 * setup ":lnoremap" to map the keys
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2412 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2413 for (i = 0; i < curbuf->b_kmap_ga.ga_len; ++i)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2414 {
274
8fa8d7964cf1 updated for version 7.0073
vimboss
parents: 41
diff changeset
2415 vim_snprintf((char *)buf, sizeof(buf), "<buffer> %s %s",
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2416 ((kmap_T *)curbuf->b_kmap_ga.ga_data)[i].from,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2417 ((kmap_T *)curbuf->b_kmap_ga.ga_data)[i].to);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2418 (void)do_map(2, buf, LANGMAP, FALSE);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2419 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2420
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2421 p_cpo = save_cpo;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2422
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2423 curbuf->b_kmap_state |= KEYMAP_LOADED;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2424 status_redraw_curbuf();
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2425 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2426
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2427 /*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2428 * Stop using 'keymap'.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2429 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2430 static void
7817
83861277e6a3 commit https://github.com/vim/vim/commit/7454a06e2642d2b37afad1c5e71cec68081ca4ff
Christian Brabandt <cb@256bit.org>
parents: 7799
diff changeset
2431 keymap_unload(void)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2432 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2433 char_u buf[KMAP_MAXLEN + 10];
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2434 int i;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2435 char_u *save_cpo = p_cpo;
1624
18ee39301b82 updated for version 7.2a
vimboss
parents: 1478
diff changeset
2436 kmap_T *kp;
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2437
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2438 if (!(curbuf->b_kmap_state & KEYMAP_LOADED))
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2439 return;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2440
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2441 /* Set 'cpoptions' to "C" to avoid line continuation. */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2442 p_cpo = (char_u *)"C";
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2443
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2444 /* clear the ":lmap"s */
1624
18ee39301b82 updated for version 7.2a
vimboss
parents: 1478
diff changeset
2445 kp = (kmap_T *)curbuf->b_kmap_ga.ga_data;
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2446 for (i = 0; i < curbuf->b_kmap_ga.ga_len; ++i)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2447 {
1624
18ee39301b82 updated for version 7.2a
vimboss
parents: 1478
diff changeset
2448 vim_snprintf((char *)buf, sizeof(buf), "<buffer> %s", kp[i].from);
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2449 (void)do_map(1, buf, LANGMAP, FALSE);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2450 }
13121
3321582cae78 patch 8.0.1435: memory leak in test_arabic
Christian Brabandt <cb@256bit.org>
parents: 12716
diff changeset
2451 keymap_clear(&curbuf->b_kmap_ga);
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2452
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2453 p_cpo = save_cpo;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2454
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2455 ga_clear(&curbuf->b_kmap_ga);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2456 curbuf->b_kmap_state &= ~KEYMAP_LOADED;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2457 status_redraw_curbuf();
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2458 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2459
13121
3321582cae78 patch 8.0.1435: memory leak in test_arabic
Christian Brabandt <cb@256bit.org>
parents: 12716
diff changeset
2460 void
3321582cae78 patch 8.0.1435: memory leak in test_arabic
Christian Brabandt <cb@256bit.org>
parents: 12716
diff changeset
2461 keymap_clear(garray_T *kmap)
3321582cae78 patch 8.0.1435: memory leak in test_arabic
Christian Brabandt <cb@256bit.org>
parents: 12716
diff changeset
2462 {
3321582cae78 patch 8.0.1435: memory leak in test_arabic
Christian Brabandt <cb@256bit.org>
parents: 12716
diff changeset
2463 int i;
3321582cae78 patch 8.0.1435: memory leak in test_arabic
Christian Brabandt <cb@256bit.org>
parents: 12716
diff changeset
2464 kmap_T *kp = (kmap_T *)kmap->ga_data;
3321582cae78 patch 8.0.1435: memory leak in test_arabic
Christian Brabandt <cb@256bit.org>
parents: 12716
diff changeset
2465
3321582cae78 patch 8.0.1435: memory leak in test_arabic
Christian Brabandt <cb@256bit.org>
parents: 12716
diff changeset
2466 for (i = 0; i < kmap->ga_len; ++i)
3321582cae78 patch 8.0.1435: memory leak in test_arabic
Christian Brabandt <cb@256bit.org>
parents: 12716
diff changeset
2467 {
3321582cae78 patch 8.0.1435: memory leak in test_arabic
Christian Brabandt <cb@256bit.org>
parents: 12716
diff changeset
2468 vim_free(kp[i].from);
3321582cae78 patch 8.0.1435: memory leak in test_arabic
Christian Brabandt <cb@256bit.org>
parents: 12716
diff changeset
2469 vim_free(kp[i].to);
3321582cae78 patch 8.0.1435: memory leak in test_arabic
Christian Brabandt <cb@256bit.org>
parents: 12716
diff changeset
2470 }
3321582cae78 patch 8.0.1435: memory leak in test_arabic
Christian Brabandt <cb@256bit.org>
parents: 12716
diff changeset
2471 }
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2472 #endif /* FEAT_KEYMAP */