1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-04 14:34:11 +01:00

add commandline completion to 'defsearch'

This commit is contained in:
Doug Kearns
2008-09-10 18:26:51 +00:00
parent 55b5a3b6f3
commit 13e504c0a4
3 changed files with 13 additions and 2 deletions

View File

@@ -700,7 +700,7 @@ liberator.Options = function () //{{{
if (option.hasName(filter))
{
if (option.completer)
return [filter.length + 1, option.completer(filter)];
return [filter.length + 1, option.completer(filter)]; // FIXME: filter should be component after "option="
return [filter.length + 1, [[option.value + "", ""]]];
}
}