mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-25 17:11:59 +00:00
Make global symbol search a bit more fuzzy
This commit is contained in:
parent
9d1369786f
commit
bb46b38b1c
@ -2312,7 +2312,7 @@ bool QueryDbMainLoop(
|
||||
break;
|
||||
}
|
||||
|
||||
if (db->detailed_names[i].find(query) != std::string::npos) {
|
||||
if (SubstringMatch(query, db->detailed_names[i])) {
|
||||
optional<lsSymbolInformation> info = GetSymbolInfo(db, working_files, db->symbols[i]);
|
||||
if (!info)
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user