Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F132183
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
442 B
Referenced Files
None
Subscribers
None
View Options
diff --git a/cpp/match.hpp b/cpp/match.hpp
index 202227e..2ca6d1c 100644
--- a/cpp/match.hpp
+++ b/cpp/match.hpp
@@ -1,14 +1,14 @@
#pragma once
#include <string>
namespace ivy {
struct Match {
int score;
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
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Thu, May 7, 6:24 PM (1 w, 1 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
9017
Default Alt Text
(442 B)
Attached To
Mode
R1 ivy.nvim
Attached
Detach File
Event Timeline
Log In to Comment