Browse Source

fix gopls download spewing into terminal

Dax Raad 8 months ago
parent
commit
0515fbb260
1 changed files with 3 additions and 0 deletions
  1. 3 0
      packages/opencode/src/lsp/server.ts

+ 3 - 0
packages/opencode/src/lsp/server.ts

@@ -70,6 +70,9 @@ export namespace LSPServer {
           const proc = Bun.spawn({
             cmd: ["go", "install", "golang.org/x/tools/gopls@latest"],
             env: { ...process.env, GOBIN: Global.Path.bin },
+            stdout: "pipe",
+            stderr: "pipe",
+            stdin: "pipe",
           })
           const exit = await proc.exited
           if (exit !== 0) {