diff --git a/internal/langserver/handlers/service.go b/internal/langserver/handlers/service.go index c19150c05..d94a0f9fb 100644 --- a/internal/langserver/handlers/service.go +++ b/internal/langserver/handlers/service.go @@ -176,6 +176,8 @@ func (svc *service) Assigner() (jrpc2.Assigner, error) { ctx = lsctx.WithModuleManager(ctx, svc.modMgr) ctx = lsctx.WithModuleFinder(ctx, svc.modMgr) ctx = lsctx.WithModuleWalker(ctx, svc.walker) + ctx = exec.WithExecutorOpts(ctx, execOpts) + ctx = exec.WithExecutorFactory(ctx, svc.tfExecFactory) ctx = lsctx.WithWatcher(ctx, ww) return handle(ctx, req, lh.TextDocumentDidOpen) },