feat: support pull diagnostics in the LSP client (C#, Kotlin, etc) (#23771)
This commit is contained in:
@@ -258,7 +258,7 @@ export const ApplyPatchTool = Tool.define(
|
||||
for (const change of fileChanges) {
|
||||
if (change.type === "delete") continue
|
||||
const target = change.movePath ?? change.filePath
|
||||
yield* lsp.touchFile(target, true)
|
||||
yield* lsp.touchFile(target, "document")
|
||||
}
|
||||
const diagnostics = yield* lsp.diagnostics()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user