mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-16 23:52:30 +02:00
Fix :command list output.
This commit is contained in:
1 parent
2aa9c05492
commit
572c591979
1 file changed
+2
-2
@@ -1066,14 +1066,14 @@ const Commands = Module("commands", {
|
||||
|
||||
if (cmds.length > 0)
|
||||
commandline.commandOutput(
|
||||
template.tabular(["", "Name", "Args", "Range", "Complete", "Definition"], ["padding-right: 2em;"]),
|
||||
template.tabular(["", "Name", "Args", "Range", "Complete", "Definition"], ["padding-right: 2em;"],
|
||||
([cmd.bang ? "!" : " ",
|
||||
cmd.name,
|
||||
cmd.argCount,
|
||||
cmd.count ? "0c" : "",
|
||||
completerToString(cmd.completer),
|
||||
cmd.replacementText || "function () { ... }"]
|
||||
for ([, cmd] in Iterator(cmds))));
|
||||
for ([, cmd] in Iterator(cmds)))));
|
||||
else
|
||||
dactyl.echomsg("No user-defined commands found");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user