aboutsummaryrefslogtreecommitdiffstats
path: root/background_scripts
diff options
context:
space:
mode:
authorStephen Blott2015-05-10 07:15:55 +0100
committerStephen Blott2015-05-10 07:15:55 +0100
commit0fa0f17190459bb37bfe8752f98cd8b37e689437 (patch)
tree4b74173c128d865bdf60f3da71bf5f8ad67b2c1d /background_scripts
parentef4d9cb7a6f5ddceb643deaeb94edc5886baad93 (diff)
downloadvimium-0fa0f17190459bb37bfe8752f98cd8b37e689437.tar.bz2
Search completion; highlight also for default search engine.
Diffstat (limited to 'background_scripts')
-rw-r--r--background_scripts/completion.coffee4
1 files changed, 4 insertions, 0 deletions
diff --git a/background_scripts/completion.coffee b/background_scripts/completion.coffee
index 447c47a2..c529f376 100644
--- a/background_scripts/completion.coffee
+++ b/background_scripts/completion.coffee
@@ -437,6 +437,8 @@ class SearchEngineCompleter
autoSelect: not version2
forceAutoSelect: not version2
highlightTerms: not version2
+ # Do not use this entry for vomnibar completion.
+ highlightCommonMatches: false
# Post suggestions and bail if there is no prospect of adding further suggestions.
if queryTerms.length == 0 or not haveCompletionEngine
@@ -477,6 +479,8 @@ class SearchEngineCompleter
relevancy: relavancy *= 0.9
highlightTerms: false
insertText: suggestion
+ # Do use this entry for vomnibar completion.
+ highlightCommonMatches: true
# We keep at least three suggestions (if possible) and at most six. We keep more than three only if
# there are enough slots. The idea is that these suggestions shouldn't wholly displace suggestions