Skip to content

Commit

Permalink
Fix: Add missing TF exec context for didOpen (#389)
Browse files Browse the repository at this point in the history
  • Loading branch information
radeksimko authored Feb 3, 2021
1 parent f5ddf9a commit fce2f1d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/langserver/handlers/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
},
Expand Down

0 comments on commit fce2f1d

Please sign in to comment.