mirror of
https://github.com/anomalyco/opencode.git
synced 2026-04-28 20:49:55 +00:00
Update LSP client/server and CLI scrap command functionality
🤖 Generated with [OpenCode](https://opencode.ai) Co-Authored-By: OpenCode <noreply@opencode.ai>
This commit is contained in:
parent
0e58f488df
commit
96b5a079ff
3 changed files with 17 additions and 11 deletions
|
|
@ -57,6 +57,7 @@ export namespace LSPClient {
|
|||
})
|
||||
connection.listen()
|
||||
|
||||
const initialization = await input.initialization?.(app)
|
||||
await connection.sendRequest("initialize", {
|
||||
processId: server.pid,
|
||||
workspaceFolders: [
|
||||
|
|
@ -66,7 +67,7 @@ export namespace LSPClient {
|
|||
},
|
||||
],
|
||||
initializationOptions: {
|
||||
...input.initialization,
|
||||
...initialization,
|
||||
},
|
||||
capabilities: {
|
||||
workspace: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue