Isrothy / lualine-diagnostic-message

Lualine component to show lsp diagnostic message
MIT License
15 stars 0 forks source link

Change Icons #2

Closed 1aryanpro closed 1 year ago

1aryanpro commented 1 year ago

Is there a way to change the icons the plugin uses?

Isrothy commented 1 year ago

Now you can customise the icons like this

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",
            }
        }
    }
}
1aryanpro commented 1 year ago

Thanks for the fast turnaround!