Neovim plugin to show diagnostics summary in the buffer's corner, similar to JetBrains' inspections widget.
-- Packer.nvim:
use "ivanjermakov/troublesum.nvim"
-- Lazy.nvim:
{
"ivanjermakov/troublesum.nvim",
config = function()
require("troublesum").setup()
end
}
require("troublesum").setup({
enabled = true,
autocmd = true,
severity_format = { "E", "W", "I", "H" },
severity_highlight = { "DiagnosticError", "DiagnosticWarn", "DiagnosticInfo", "DiagnosticHint" },
format = function(counts) end,
display_summary = function(bufnr, ns, text) end
})
- Inspired by trld.nvim
- Doc generator lemmy-help