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
682682 if (!ResourceDir.empty ())
683683 Opts.ResourceDir = ResourceDir;
684684 Opts.BuildDynamicSymbolIndex = EnableIndex;
685- Opts.BackgroundIndex = EnableBackgroundIndex;
686685 std::unique_ptr<SymbolIndex> StaticIdx;
687686 std::future<void > AsyncIndexLoad; // Block exit while loading the index.
688687 if (EnableIndex && !IndexFile.empty ()) {
@@ -713,6 +712,7 @@ clangd accepts flags on the commandline, and in the CLANGD_FLAGS environment var
713712 }
714713 }
715714#endif
715+ Opts.BackgroundIndex = EnableBackgroundIndex;
716716 Opts.StaticIndex = StaticIdx.get ();
717717 Opts.AsyncThreadsCount = WorkerThreadsCount;
718718 Opts.BuildRecoveryAST = RecoveryAST;
You can’t perform that action at this time.
0 commit comments