mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-23 23:35:45 +01:00
Add descriptions for mappable modes.
This commit is contained in:
@@ -513,7 +513,7 @@ var Mappings = Module("mappings", {
|
||||
names: ["-mode", "-m"],
|
||||
type: CommandOption.STRING,
|
||||
validator: function (value) Array.concat(value).every(findMode),
|
||||
completer: function () [[array.compact([mode.name.toLowerCase().replace(/_/g, "-"), mode.char]), mode.disp]
|
||||
completer: function () [[array.compact([mode.name.toLowerCase().replace(/_/g, "-"), mode.char]), mode.description]
|
||||
for (mode in values(modes.all))
|
||||
if (!mode.hidden)],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user