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

add :set validation and completion for 'eventignore' and 'suggestengines'

This commit is contained in:
Doug Kearns
2008-09-26 05:29:17 +00:00
parent 75d56ccd5d
commit 6eea753fa1
7 changed files with 49 additions and 29 deletions

View File

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