Show LSP diagnostic message on lualine
use 'Isrothy/lualine-diagnostic-message'
{
"Isrothy/lualine-diagnostic-message",
}
require'lualine'.setup{
sections = {
lualine_c = {
"diagnostic-message",
--- If you want to custoimze the colors
colors = {
error = "#BF616A",
warn = "#EBCB8B",
info = "#A3BE8C",
hint = "#88C0D0",
},
--- If you want to custoimze the icons
icons = {
error = "E",
warn = "W",
info = "I",
hint = "H",
}
-- Replace '\n' by the separator
line_separator = ". ",
-- Only show the first line of diagnostic message
first_line_only = false,
}
}
}