mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-29 11:01:57 +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;
|
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]);
|
optional<lsSymbolInformation> info = GetSymbolInfo(db, working_files, db->symbols[i]);
|
||||||
if (!info)
|
if (!info)
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user