mirror of
https://github.com/sst/opencode.git
synced 2025-08-31 02:07:24 +00:00
properly load typescript lsp in subpaths
This commit is contained in:
parent
6de955847c
commit
4a878b88c0
2 changed files with 2 additions and 1 deletions
|
@ -179,6 +179,7 @@ export namespace LSPClient {
|
|||
l.info("shutting down")
|
||||
connection.end()
|
||||
connection.dispose()
|
||||
input.server.process.kill()
|
||||
l.info("shutdown")
|
||||
},
|
||||
}
|
||||
|
|
|
@ -75,7 +75,7 @@ export namespace LSPServer {
|
|||
notif.dispose()
|
||||
resolve()
|
||||
})
|
||||
await lsp.notify.open({ path: hint })
|
||||
await lsp.notify.open({ path: path.join(lsp.root, hint) })
|
||||
})
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue