feat: automatically obtain diagnostics after finishing editing the file (#2018)

This commit is contained in:
yetone
2025-05-08 22:50:46 +08:00
committed by GitHub
parent 1e80305af2
commit 6e1e2ac9f2
9 changed files with 171 additions and 93 deletions

View File

@@ -135,7 +135,7 @@ L5: pass
local history_messages = vim.iter(llm_messages):map(function(msg) return HistoryMessage:new(msg) end):totable()
local diagnostics = Utils.get_diagnostics(bufnr)
local diagnostics = Utils.lsp.get_diagnostics(bufnr)
Llm.stream({
provider = provider,