Skip to content

Isrothy/lualine-diagnostic-message

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

lualine-diagnostic-message

Show LSP diagnostic message on lualine

Screenshot

image

Installation

packer.nvim

use 'Isrothy/lualine-diagnostic-message'

lazy

{
  "Isrothy/lualine-diagnostic-message",
}

Use

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,
        }
    }
}

About

Lualine component to show lsp diagnostic message

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages