https://wiki.archlinux.org/api.php?days=7&limit=50&target=Vim_%28%E6%AD%A3%E9%AB%94%E4%B8%AD%E6%96%87%29&action=feedrecentchanges&feedformat=atomArchWiki - Changes related to "Vim (正體中文)" [en]2024-03-28T10:03:21ZRelated changesMediaWiki 1.41.0https://wiki.archlinux.org/index.php?title=Vim&diff=804178&oldid=801959Vim2024-03-23T04:14:36Z<p><span dir="auto"><span class="autocomment">Bidirectional support: </span> Add font coverage for Arabic Forms-B</span></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 04:14, 23 March 2024</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l419">Line 419:</td>
<td colspan="2" class="diff-lineno">Line 419:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> inoremap <C-X> <C-O>:silent if &rl <Bar> set rl! <Bar> else <Bar> set rl <Bar> endif<CR></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> inoremap <C-X> <C-O>:silent if &rl <Bar> set rl! <Bar> else <Bar> set rl <Bar> endif<CR></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>Vim has its own letter shaping functionality. Despite some [https://github.com/vim/vim/issues/14115 rendering issues], this works on terminals with no letter shaping support like [[alacritty]] and [[st]]. However, if the terminal supports letter shaping like gnome-terminal and other libvte-based terminals, then Vim and the terminal letter shaping could conflict. The current workaround is to disable shaping by {{ic|:set arabicshape!}}, but note that this will cause reversed text when {{ic|:set rightleft}}. See [https://vim-jp.org/vimdoc-en/arabic.html :set arabic] for more info.</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>Vim has its own letter shaping functionality. Despite some [https://github.com/vim/vim/issues/14115 rendering issues], this works on terminals with no letter shaping support like [[alacritty]] and [[st]]. <ins style="font-weight: bold; text-decoration: none;">The shaping depends on [http://unicode.org/charts/PDF/UFE70.pdf Arabic Presentation Forms-B (U+FE70–FEFF)], so make sure your font includes support for these characters. As there is no known monospace font with full support for these characters, you need to have an additional fallback font (e.g: {{AUR|vazir-code-fonts}} with fallback to {{pkg|ttf-dejavu}}). See [[St#Arabic_shaping_support]] for example terminal fonts setup.</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> </div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>However, if the terminal supports letter shaping like gnome-terminal and other libvte-based terminals, then Vim and the terminal letter shaping could conflict. The current workaround is to disable shaping by {{ic|:set arabicshape!}}, but note that this will cause reversed text when {{ic|:set rightleft}}. See [https://vim-jp.org/vimdoc-en/arabic.html :set arabic] for more info.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== See also ==</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== See also ==</div></td></tr>
<!-- diff cache key archwiki:diff:1.41:old-801959:rev-804178:php=table -->
</table>AvidSeeker