update basedpyright and vim.diagnostic config

This commit is contained in:
kyasuda
2025-08-19 14:14:57 -07:00
parent 180160fee1
commit a53991c53d
6 changed files with 117 additions and 63 deletions

View File

@@ -73,9 +73,14 @@ local border = {
o.winborder = "rounded"
vim.diagnostic.config({
virtual_text = false,
virtual_text = {
format = function(diagnostic)
-- You can customize the display text per diagnostic
return string.format("[%s]: %s", diagnostic.code, diagnostic.message)
end,
},
signs = true,
underline = true,
float = { border = "rounded", source = true },
severity_sort = true,
update_in_insert = false,
})