mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-05-28 17:16:29 +03:00
Rever small change in fuzzy search for command palette.
This commit is contained in:
@@ -75,8 +75,8 @@ CommandPalette::fuzzyMatch( const std::vector<std::vector<std::string>>& cmdPale
|
||||
std::vector<std::vector<std::string>> ret;
|
||||
|
||||
for ( size_t i = 0; i < cmdPalette.size(); i++ ) {
|
||||
int matchName = String::fuzzyMatch( cmdPalette[i][0], match, true, true );
|
||||
int matchKeybind = String::fuzzyMatch( cmdPalette[i][2], match, true, true );
|
||||
int matchName = String::fuzzyMatch( cmdPalette[i][0], match );
|
||||
int matchKeybind = String::fuzzyMatch( cmdPalette[i][2], match );
|
||||
matchesMap.insert( { std::max( matchName, matchKeybind ), i } );
|
||||
}
|
||||
for ( auto& res : matchesMap ) {
|
||||
|
||||
Reference in New Issue
Block a user