Mercurial > vim
annotate runtime/keymap/vietnamese-viqr_utf-8.vim @ 34420:c5a945f7f3da v9.1.0133
patch 9.1.0133: MS-Windows: ligatures not rendering correctly
Commit: https://github.com/vim/vim/commit/8b1e749ca6ca6d09a174c57de6999f69393ee567
Author: Erik S. V. Jansson <caffeineviking@gmail.com>
Date: Sat Feb 24 14:26:52 2024 +0100
patch 9.1.0133: MS-Windows: ligatures not rendering correctly
Problem: font ligatures don't render correctly in the Win32 GUI-version
of gvim even when set rop=type:directx is used. Setting
guiligatures also doesn't make any difference. This leads to
broken font ligatures when the cursor passes through them. It
does not recover from this, and they remain broken until you
re-render the whole buffer (e.g. by using Ctrl+L).
Solution: the problem is that we only re-draw the current and previous
character in gui_undraw_cursor() and only have the special case
for GTK when it comes to rendering ligatures. So let's enable
gui_adjust_undraw_cursor_for_ligatures() to also happen for
Win32 GUI if guiligatures is setup correctly (all this does is
expand the range of gui_undraw_cursor() with ligature characters).
related: #9181
related: #12901
closes: #14084
Signed-off-by: Erik S. V. Jansson <caffeineviking@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 24 Feb 2024 14:45:03 +0100 |
parents | e63691e7c504 |
children |
rev | line source |
---|---|
1121 | 1 " Vim Keymap file for vietnamese through the usual viqr method |
2 " Maintainer: Samuel Thibault <samuel.thibault@ens-lyon.org> | |
3 " Last Change: 2006 Jun 17 | |
4 | |
5 scriptencoding utf-8 | |
6 | |
7 let b:keymap_name = "vietnamese" | |
8 | |
9 loadkeymap | |
10 a a | |
11 A A | |
12 a` à | |
13 A` À | |
14 a? ả | |
15 A? Ả | |
16 a~ ã | |
17 A~ Ã | |
18 a' á | |
19 A' Á | |
20 a. ạ | |
21 A. Ạ | |
22 a( ă | |
23 A( Ă | |
24 a(` ằ | |
25 A(` Ằ | |
26 a(? ẳ | |
27 A(? Ẳ | |
28 a(~ ẵ | |
29 A(~ Ẵ | |
30 a(' ắ | |
31 A(' Ắ | |
32 a(. ặ | |
33 A(. Ặ | |
34 a^ â | |
35 A^ Â | |
36 a^` ầ | |
37 A^` Ầ | |
38 a^? ẩ | |
39 A^? Ẩ | |
40 a^~ ẫ | |
41 A^~ Ẫ | |
42 a^' ấ | |
43 A^' Ấ | |
44 a^. ậ | |
45 A^. Ậ | |
46 d d | |
47 D D | |
48 dd đ | |
49 Dd Đ | |
50 DD Đ | |
51 e e | |
52 E E | |
53 e` è | |
54 E` È | |
55 e? ẻ | |
56 E? Ẻ | |
57 e~ ẽ | |
58 E~ Ẽ | |
59 e' é | |
60 E' É | |
61 e. ẹ | |
62 E. Ẹ | |
63 e^ ê | |
64 E^ Ê | |
65 e^` ề | |
66 E^` Ề | |
67 e^? ể | |
68 E^? Ể | |
69 e^~ ễ | |
70 E^~ Ễ | |
71 e^' ế | |
72 E^' Ế | |
73 e^. ệ | |
74 E^. Ệ | |
75 i i | |
76 I I | |
77 i` ì | |
78 I` Ì | |
79 i? ỉ | |
80 I? Ỉ | |
81 i~ ĩ | |
82 I~ Ĩ | |
83 i' í | |
84 I' Í | |
85 i. ị | |
86 I. Ị | |
87 o o | |
88 O O | |
89 o` ò | |
90 O` Ò | |
91 o? ỏ | |
92 O? Ỏ | |
93 o~ õ | |
94 O~ Õ | |
95 o' ó | |
96 O' Ó | |
97 o. ọ | |
98 O. Ọ | |
99 o^ ô | |
100 O^ Ô | |
101 o^` ồ | |
102 O^` Ồ | |
103 o^? ổ | |
104 O^? Ổ | |
105 o^~ ỗ | |
106 O^~ Ỗ | |
107 o^' ố | |
108 O^' Ố | |
109 o^. ộ | |
110 O^. Ộ | |
111 o+ ơ | |
112 O+ Ơ | |
113 o+` ờ | |
114 O+` Ờ | |
115 o+? ở | |
116 O+? Ở | |
117 o+~ ỡ | |
118 O+~ Ỡ | |
119 o+' ớ | |
120 O+' Ớ | |
121 o+. ợ | |
122 O+. Ợ | |
123 u u | |
124 U U | |
125 u` ù | |
126 U` Ù | |
127 u? ủ | |
128 U? Ủ | |
129 u~ ũ | |
130 U~ Ũ | |
131 u' ú | |
132 U' Ú | |
133 u. ụ | |
134 U. Ụ | |
135 u+ ư | |
136 U+ Ư | |
137 u+` ừ | |
138 U+` Ừ | |
139 u+? ử | |
140 U+? Ử | |
141 u+~ ữ | |
142 U+~ Ữ | |
143 u+' ứ | |
144 U+' Ứ | |
145 u+. ự | |
146 U+. Ự | |
147 y y | |
148 Y Y | |
149 y` ỳ | |
150 Y` Ỳ | |
151 y? ỷ | |
152 Y? Ỷ | |
153 y~ ỹ | |
154 Y~ Ỹ | |
155 y' ý | |
156 Y' Ý | |
157 y. ỵ | |
158 Y. Ỵ | |
159 \\d d | |
160 \\D D |