summaryrefslogtreecommitdiff
path: root/vimperator/content
diff options
context:
space:
mode:
authorKris Maglione <maglione.k@gmail.com>2008-12-19 12:33:22 -0500
committerKris Maglione <maglione.k@gmail.com>2008-12-19 12:33:22 -0500
commitf95dfac83fe61f42e5e1c03f299d8b89d66b9fdf (patch)
tree1393d1326d82939d0171989e5ff22ab54b07d1ce /vimperator/content
parentaaab59aab6b014e70adcff79f4a220e3619f5e58 (diff)
downloadpentadactyl-f95dfac83fe61f42e5e1c03f299d8b89d66b9fdf.tar.gz
Add completion for empty 'defsearch'
Diffstat (limited to 'vimperator/content')
-rw-r--r--vimperator/content/bookmarks.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/vimperator/content/bookmarks.js b/vimperator/content/bookmarks.js
index 8acac9f7..afb276e4 100644
--- a/vimperator/content/bookmarks.js
+++ b/vimperator/content/bookmarks.js
@@ -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
});