Skip to content

Commit 587e2b0

Browse files
committed
fix: support pull diagnostics in the LSP client
1 parent 9ea2db1 commit 587e2b0

10 files changed

Lines changed: 794 additions & 98 deletions

File tree

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ const DiagnosticsCommand = cmd({
2323
const out = await AppRuntime.runPromise(
2424
LSP.Service.use((lsp) =>
2525
Effect.gen(function* () {
26-
yield* lsp.touchFile(args.file, true)
27-
yield* Effect.sleep(1000)
26+
yield* lsp.touchFile(args.file, "full")
2827
return yield* lsp.diagnostics()
2928
}),
3029
),

0 commit comments

Comments
 (0)