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:
@@ -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)))
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user