1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 11:58:00 +01:00

added option value completion; small typos.

This commit is contained in:
Tim Hammerquist
2008-06-19 22:34:45 +00:00
parent 600ff1cce9
commit c55d7b51d0
5 changed files with 51 additions and 7 deletions

View File

@@ -178,7 +178,15 @@ liberator.Buffer = function () //{{{
"Show the destination of the link under the cursor in the status bar",
"number", 1,
{
validator: function (value) { return (value >= 0 && value <= 2); }
validator: function (value) { return (value >= 0 && value <= 2); },
completer: function (filter)
{
return [
["0", "Don't show link destination"],
["1", "Show the link in the status line"],
["2", "Show the link in the command line"],
];
},
});
liberator.options.add(["usermode", "um"],