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:
@@ -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"],
|
||||
|
||||
Reference in New Issue
Block a user