diff --git a/internal/langserver/handlers/service.go b/internal/langserver/handlers/service.go index d7652e3d6..8ca90c58e 100644 --- a/internal/langserver/handlers/service.go +++ b/internal/langserver/handlers/service.go @@ -270,6 +270,7 @@ func (svc *service) Assigner() (jrpc2.Assigner, error) { ctx = lsctx.WithDiagnosticsNotifier(ctx, svc.diagsNotifier) ctx = lsctx.WithExperimentalFeatures(ctx, &expFeatures) ctx = exec.WithExecutorOpts(ctx, svc.tfExecOpts) + ctx = exec.WithExecutorFactory(ctx, svc.tfExecFactory) return handle(ctx, req, svc.TextDocumentDidSave) },