mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-17 14:12:30 +02:00
Add completion for empty 'defsearch'
This commit is contained in:
1 parent
aaab59aab6
commit
f95dfac83f
2 files changed
+8
-1
No files matched your search
@@ -258,7 +258,11 @@ function Bookmarks() //{{{
|
||||
"Set the default search engine",
|
||||
"string", "google",
|
||||
{
|
||||
completer: function completer(context) completion.search(context, true),
|
||||
completer: function completer(context)
|
||||
{
|
||||
completion.search(context, true)
|
||||
context.completions = [["", "Don't perform searches by default"]].concat(context.completions);
|
||||
},
|
||||
validator: Option.validateCompleter
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user