fix: reverse the order of results
This makes all of the relevant results come at the bottom of the list to keep your eyes closer to the prompt.
This commit is contained in:
parent
b30ecd21fe
commit
4e174d65f8
1 changed files with 1 additions and 1 deletions
|
|
@ -9,6 +9,6 @@ struct Match {
|
||||||
std::string content;
|
std::string content;
|
||||||
};
|
};
|
||||||
|
|
||||||
static bool sort_match(const Match& a, const Match& b) { return a.score > b.score; }
|
static bool sort_match(const Match& a, const Match& b) { return a.score < b.score; }
|
||||||
|
|
||||||
} // namespace ivy
|
} // namespace ivy
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue