Added tiny-inline-diagnostic for wrapped lsp diagnostics
This commit is contained in:
@@ -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
|
||||
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user