Skip to content

The open source coding agent.

TypeScript

Fix Elixir LSP startup (#726)

Dominik Engelhardtd87922c0eb83
diff --git a/packages/opencode/src/lsp/client.ts b/packages/opencode/src/lsp/client.ts
index 5aff437dd41..c1cdc204683 100644
--- a/packages/opencode/src/lsp/client.ts
+++ b/packages/opencode/src/lsp/client.ts
@@ -66,6 +66,7 @@ export namespace LSPClient {
log.info("sending initialize", { id: serverID })
await withTimeout(
connection.sendRequest("initialize", {
+ rootUri: "file://" + app.path.cwd,
processId: server.process.pid,
workspaceFolders: [
{