File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -682,7 +682,6 @@ clangd accepts flags on the commandline, and in the CLANGD_FLAGS environment var
682
682
if (!ResourceDir.empty ())
683
683
Opts.ResourceDir = ResourceDir;
684
684
Opts.BuildDynamicSymbolIndex = EnableIndex;
685
- Opts.BackgroundIndex = EnableBackgroundIndex;
686
685
std::unique_ptr<SymbolIndex> StaticIdx;
687
686
std::future<void > AsyncIndexLoad; // Block exit while loading the index.
688
687
if (EnableIndex && !IndexFile.empty ()) {
@@ -713,6 +712,7 @@ clangd accepts flags on the commandline, and in the CLANGD_FLAGS environment var
713
712
}
714
713
}
715
714
#endif
715
+ Opts.BackgroundIndex = EnableBackgroundIndex;
716
716
Opts.StaticIndex = StaticIdx.get ();
717
717
Opts.AsyncThreadsCount = WorkerThreadsCount;
718
718
Opts.BuildRecoveryAST = RecoveryAST;
You can’t perform that action at this time.
0 commit comments