[clangd] Fix forgotten propagation of AsnycPreamble flag

This commit is contained in:
Kadir Cetinkaya 2020-06-03 23:50:26 +02:00
parent 6391da98f4
commit 49cbe56a65
No known key found for this signature in database
GPG Key ID: E39E36B8D2057ED6
1 changed files with 2 additions and 0 deletions

View File

@ -764,6 +764,8 @@ clangd accepts flags on the commandline, and in the CLANGD_FLAGS environment var
// Shall we allow to customize the file limit?
RenameOpts.AllowCrossFile = CrossFileRename;
Opts.AsyncPreambleBuilds = AsyncPreamble;
ClangdLSPServer LSPServer(
*TransportLayer, FSProvider, CCOpts, RenameOpts, CompileCommandsDirPath,
/*UseDirBasedCDB=*/CompileArgsFrom == FilesystemCompileArgs,