Skip to content

Commit 7ec48df

Browse files
authored
fix: debug lsp diagnostics cmd for certain lsps (#5420)
1 parent 57120e6 commit 7ec48df

File tree

1 file changed

+1
-0
lines changed
  • packages/opencode/src/cli/cmd/debug

1 file changed

+1
-0
lines changed

packages/opencode/src/cli/cmd/debug/lsp.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ const DiagnosticsCommand = cmd({
1717
async handler(args) {
1818
await bootstrap(process.cwd(), async () => {
1919
await LSP.touchFile(args.file, true)
20+
await Bun.sleep(1000)
2021
process.stdout.write(JSON.stringify(await LSP.diagnostics(), null, 2) + EOL)
2122
})
2223
},

0 commit comments

Comments
 (0)