Add diagnostics to lualine
This commit is contained in:
parent
406d801b6d
commit
269d540212
2 changed files with 27 additions and 6 deletions
|
|
@ -31,7 +31,16 @@ return {
|
|||
},
|
||||
sections = {
|
||||
lualine_a = { "mode" },
|
||||
lualine_b = { "branch", resize_mode },
|
||||
lualine_b = {
|
||||
"branch",
|
||||
{
|
||||
"diagnostics",
|
||||
sources = { "nvim_lsp", "nvim_diagnostic", },
|
||||
sections = { "error", "warn", "info", "hint" },
|
||||
update_in_insert = false,
|
||||
},
|
||||
resize_mode,
|
||||
},
|
||||
lualine_c = { "buffers" },
|
||||
lualine_x = { "encoding", "fileformat", "filetype" },
|
||||
lualine_y = { "progress" },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue