mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 11:27:58 +01:00
add :set validation and completion for 'eventignore' and 'suggestengines'
This commit is contained in:
@@ -591,11 +591,11 @@ liberator.Hints = function () //{{{
|
||||
"How links are matched",
|
||||
"string", "contains",
|
||||
{
|
||||
validator: function (value) /^(?:contains|wordstartswith|firstletters|custom)$/.test(value),
|
||||
completer: function (filter)
|
||||
{
|
||||
return ["contains", "wordstartswith", "firstletters", "custom"].map(function (m) [m, ""]);
|
||||
}
|
||||
},
|
||||
validator: function (value) /^(contains|wordstartswith|firstletters|custom)$/.test(value)
|
||||
});
|
||||
|
||||
liberator.options.add(["wordseparators", "wsp"],
|
||||
|
||||
Reference in New Issue
Block a user