1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-24 00:05:46 +01:00

Add Enabled and Disabled highlight groups.

Currently only used in the :extensions output.
This commit is contained in:
Doug Kearns
2009-09-17 15:56:54 +10:00
parent 95998afae1
commit 990645c397
2 changed files with 5 additions and 3 deletions

View File

@@ -536,9 +536,8 @@ const liberator = (function () //{{{
["Name", "Version", "Status", "Description"], [],
([template.icon(e, e.name),
e.version,
/* XXX: Inline style. */
e.enabled ? <span style="color: blue;">enabled</span>
: <span style="color: red;">disabled</span>,
e.enabled ? <span highlight="Enabled">enabled</span>
: <span highlight="Disabled">disabled</span>,
e.description] for ([, e] in Iterator(extensions)))
);