summaryrefslogtreecommitdiff
path: root/src/insert_completer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/insert_completer.cc')
-rw-r--r--src/insert_completer.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/insert_completer.cc b/src/insert_completer.cc
index c18b3961..967131d9 100644
--- a/src/insert_completer.cc
+++ b/src/insert_completer.cc
@@ -123,9 +123,9 @@ InsertCompletion complete_word(const SelectionList& sels,
};
auto& word_db = get_word_db(buffer);
- Vector<RankedMatchAndBuffer> matches = word_db.find_matching(prefix)
- | transform([&](auto& m) { return RankedMatchAndBuffer{m, &buffer}; })
- | gather<Vector>();
+ auto matches = word_db.find_matching(prefix)
+ | transform([&](auto& m) { return RankedMatchAndBuffer{m, &buffer}; })
+ | gather<Vector<RankedMatchAndBuffer>>();
// Remove words that are being edited
for (auto& word_count : sel_word_counts)
{