mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-25 09:05:10 +00:00
parent
a3c5d4a1eb
commit
68d6e4122d
@ -252,7 +252,7 @@ void loadDirectoryListing(ProjectProcessor &proc, const std::string &root,
|
||||
|
||||
auto getDotCcls = [&root, &folder](std::string cur) {
|
||||
while (!(cur = sys::path::parent_path(cur)).empty()) {
|
||||
auto it = folder.dot_ccls.find(cur);
|
||||
auto it = folder.dot_ccls.find(cur + '/');
|
||||
if (it != folder.dot_ccls.end())
|
||||
return it->second;
|
||||
std::string normalized = normalizePath(cur);
|
||||
|
Loading…
Reference in New Issue
Block a user