Added tiny-inline-diagnostic for wrapped lsp diagnostics

This commit is contained in:
2025-07-04 13:05:04 +02:00
parent 5b58207e16
commit 36487d273e

View File

@@ -588,6 +588,26 @@ require("lazy").setup({
},
},
-- improved (wrapping!) diagnostics
{
"rachartier/tiny-inline-diagnostic.nvim",
event = "VeryLazy", -- one of LspAttach, VeryLazy
priority = 1000, -- needs to be loaded in first
config = function()
require('tiny-inline-diagnostic').setup({
options = {
use_icons_from_diagnostic = true,
enable_on_insert = true,
show_all_diags_on_cursorline = true,
multilines = {
enabled = true,
always_show = true,
}
}
})
vim.diagnostic.config({ virtual_text = false }) -- Only if needed in your configuration, if you already have native LSP diagnostics
end
},
-- new plugins here
},