mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-08-12 01:20:13 +03:00
File / path and command fuzzy match improvements.
This commit is contained in:
@@ -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 } );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user