aboutsummaryrefslogtreecommitdiffstats
path: root/background_scripts
diff options
context:
space:
mode:
authorStephen Blott2015-05-15 10:28:38 +0100
committerStephen Blott2015-05-15 10:28:38 +0100
commitff1f7ac546d387a283a7421ba714c0d566d1f006 (patch)
tree737b6b7c2b3cb19193ae26aeaad02bdf515df2e0 /background_scripts
parent6a322975f561764d1a4ecb8ebd32edea12909e80 (diff)
downloadvimium-ff1f7ac546d387a283a7421ba714c0d566d1f006.tar.bz2
Add ? to the list of query-term separators.
Diffstat (limited to 'background_scripts')
-rw-r--r--background_scripts/completion.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/background_scripts/completion.coffee b/background_scripts/completion.coffee
index ac234787..8000c62b 100644
--- a/background_scripts/completion.coffee
+++ b/background_scripts/completion.coffee
@@ -227,7 +227,7 @@ class HistoryCompleter
results = []
HistoryCache.use (history) =>
searchUrl = Settings.get "searchUrl"
- searchUrlTerminator = new RegExp "[&#/]"
+ searchUrlTerminator = new RegExp "[?&#/]"
results =
if queryTerms.length > 0
history.filter (entry) -> RankingUtils.matches(queryTerms, entry.url, entry.title)