mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
fix ts lsp
This commit is contained in:
parent
1bcc02442a
commit
a1cc8f6cdb
1 changed files with 4 additions and 2 deletions
|
|
@ -32,8 +32,10 @@ export namespace LSPServer {
|
|||
process.argv0 !== "bun"
|
||||
? path.resolve(process.cwd(), process.argv0)
|
||||
: process.argv0
|
||||
return spawn(root + " x typescript-language-server --stdio", {
|
||||
argv0: "bun",
|
||||
return spawn(root, ["x", "typescript-language-server", "--stdio"], {
|
||||
env: {
|
||||
BUN_BE_BUN: "1",
|
||||
},
|
||||
})
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue