forked from OSchip/llvm-project
[clangd] Fix forgotten propagation of AsnycPreamble flag
This commit is contained in:
parent
6391da98f4
commit
49cbe56a65
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue