File / path and command fuzzy match improvements.

This commit is contained in:
Martín Lucas Golini
2025-02-17 23:44:01 -03:00
parent 47c8aa0774
commit e86d92d190
3 changed files with 7 additions and 7 deletions

View File

@@ -94,7 +94,7 @@ LSPSymbolInformationList fuzzyMatchTextDocumentSymbol( const LSPSymbolInformatio
std::map<int, LSPSymbolInformation, std::greater<int>> matchesMap;
for ( const auto& l : list ) {
int matchName = String::fuzzyMatch( l.name, query );
int matchName = String::fuzzyMatch( l.name, query, true );
matchesMap.insert( { matchName, l } );
}