Added Markdown LSP support.

Revert command palette fuzzy match.
This commit is contained in:
Martín Lucas Golini
2025-02-18 00:12:49 -03:00
parent e86d92d190
commit d179e4d0e4
2 changed files with 9 additions and 2 deletions

View File

@@ -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 );
int matchKeybind = String::fuzzyMatch( cmdPalette[i][2], match, 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 ) {