summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmjith Ramanujam <amjith.r@gmail.com>2015-06-21 01:30:59 -0700
committerAmjith Ramanujam <amjith.r@gmail.com>2015-06-21 01:30:59 -0700
commitcee0577a18bd56f720ce29c08e80c41a4ad3d3b0 (patch)
tree3d8592f47c0d33f171bc2d081dd6f656690bf535
parent72d435338209917e2e9f6624af6591f995644b98 (diff)
Make named query names to the fuzzy matched.
-rw-r--r--pgcli/pgcompleter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pgcli/pgcompleter.py b/pgcli/pgcompleter.py
index e61ad96d..40069964 100644
--- a/pgcli/pgcompleter.py
+++ b/pgcli/pgcompleter.py
@@ -337,7 +337,7 @@ class PGCompleter(Completer):
elif suggestion['type'] == 'namedquery':
queries = self.find_matches(word_before_cursor, namedqueries.list(),
- start_only=True, fuzzy=False)
+ start_only=False, fuzzy=True)
completions.extend(queries)
return completions