Use the new function

This commit is contained in:
RUSshy 2021-08-12 14:27:30 +02:00 committed by GitHub
parent 02dfa8ee33
commit 39b6423034
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -296,7 +296,7 @@ int runServer(string[] args)
{ {
info("Getting completions"); info("Getting completions");
if(forceScan) if(forceScan)
cache.forceScan(); cache.ensureImportsAreCached();
s.sendResponse(complete(request, cache)); s.sendResponse(complete(request, cache));
} }
else if (request.kind & RequestKind.doc) else if (request.kind & RequestKind.doc)