diff options
author | Amjith Ramanujam <amjith.r@gmail.com> | 2015-06-21 01:30:59 -0700 |
---|---|---|
committer | Amjith Ramanujam <amjith.r@gmail.com> | 2015-06-21 01:30:59 -0700 |
commit | cee0577a18bd56f720ce29c08e80c41a4ad3d3b0 (patch) | |
tree | 3d8592f47c0d33f171bc2d081dd6f656690bf535 | |
parent | 72d435338209917e2e9f6624af6591f995644b98 (diff) |
Make named query names to the fuzzy matched.
-rw-r--r-- | pgcli/pgcompleter.py | 2 |
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 |