git.shiar.nl
/
sheet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
digraphs: parse vim :digraphs to indicate extensions
[sheet.git]
/
digraphs.plp
diff --git
a/digraphs.plp
b/digraphs.plp
index 8b096970725cf28f2fabbbde72a71f5be3c00a5a..a78a90c043d72c2d811aa742f2e5f8983408277a 100644
(file)
--- a/
digraphs.plp
+++ b/
digraphs.plp
@@
-10,15
+10,16
@@
Html({
digraph compose character char glyph table unicode vim
'],
stylesheet => [qw'light'],
digraph compose character char glyph table unicode vim
'],
stylesheet => [qw'light'],
+ data => [qw( digraphs.inc.pl )],
});
:>
<h1>RFC-1345 Digraphs</h1>
});
:>
<h1>RFC-1345 Digraphs</h1>
-<p>i^k in <a href="/">Vim</a>.
+<p>i^k in <a href="/
vi
">Vim</a>.
Also see <a href="/unicode">common digraphs</a>.</p>
Also see <a href="/unicode">common digraphs</a>.</p>
-<p class="aside">Unofficial <span class="
Xz
">proposals</span>
+<p class="aside">Unofficial <span class="
u-prop ex
">proposals</span>
are available as <a href="/digraphs.vim">ex commands</a>.</p>
<:
are available as <a href="/digraphs.vim">ex commands</a>.</p>
<:
@@
-62,7
+63,7
@@
for my $c1group (@chars) {
my @class = ('X', grep {$_} $prop, $script);
$glyph = EscapeHTML($glyph);
my @class = ('X', grep {$_} $prop, $script);
$glyph = EscapeHTML($glyph);
- $glyph = "<span>$glyph</span>" if $prop
eq 'Zs'
;
+ $glyph = "<span>$glyph</span>" if $prop
=~ /\bZs\b/
;
printf "\n".'<td class="%s" title="%s">%s',
join(' ', @class), EscapeHTML($desc), $glyph;
printf "\n".'<td class="%s" title="%s">%s',
join(' ', @class), EscapeHTML($desc), $glyph;
@@
-98,7
+99,9
@@
print "</table>\n";
<td class="X">unicode
<td class="X Xl">latin1
<td class="X Xa">ascii
<td class="X">unicode
<td class="X Xl">latin1
<td class="X Xa">ascii
- <td class="X Xz">proposed
+ <td class="X u-prop">vim extension
+ <td class="X u-prop ex">proposal
+ <td class="X ex">not in vim
</table>
</div>
</table>
</div>