aboutsummaryrefslogtreecommitdiffstats
path: root/lib/completion.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/completion.js')
-rw-r--r--lib/completion.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/completion.js b/lib/completion.js
index 077dcc80..697ee831 100644
--- a/lib/completion.js
+++ b/lib/completion.js
@@ -35,7 +35,7 @@ var completion = (function() {
query = self.normalize(query);
if (query.length == 0)
return str.length ? [str] : [];
- if (query.length > 10) {
+ if (query.length > 15) {
// for long query strings, the method is much too inefficient, so fall
// back to the more inaccurate regex matching
return self.getMatcher(query).exec(str).slice(1);