diff --git a/lua/plugins.lua b/lua/plugins.lua index 6c6210a..c1a85c6 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -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 },