1
0
Fork 0
mirror of https://github.com/NotAShelf/neovim-flake.git synced 2024-12-25 10:19:48 +01:00

lualine: improve consistency between components; add more diagnostic sources

This commit is contained in:
NotAShelf 2024-05-16 07:45:15 +03:00
parent 1fd4a2a1b8
commit 493854e44f
No known key found for this signature in database
GPG key ID: 02D1DD3FA08B6B29

View file

@ -171,7 +171,7 @@ in {
''
{
"filename",
symbols = {modified = '', readonly = ' '},
symbols = {modified = '', readonly = ' '},
separator = {right = ''}
}
''
@ -238,13 +238,17 @@ in {
return msg
end,
icon = ' ',
separator = {left = ''},
}
''
''
{
"diagnostics",
sources = {'nvim_lsp', 'nvim_diagnostic', 'coc'},
sources = {'nvim_lsp', 'nvim_diagnostic', 'nvim_diagnostic', 'vim_lsp', 'coc'},
symbols = {error = '󰅙 ', warn = ' ', info = ' ', hint = '󰌵 '},
colored = true,
update_in_insert = false,
always_visible = false,
diagnostics_color = {
color_error = { fg = 'red' },
color_warn = { fg = 'yellow' },
@ -264,16 +268,13 @@ in {
'searchcount',
maxcount = 999,
timeout = 120,
}
''
''
{
"branch",
icon = ' ',
separator = {
left = '',
},
separator = {left = ''}
}
''
];
@ -284,7 +285,10 @@ in {
description = "active config for: | A | B | C X | Y | (Z) |";
default = [
''
{"progress"}
{
"progress",
separator = {left = ''}
}
''
''
{"location"}
@ -297,7 +301,7 @@ in {
unix = '', -- e712
dos = '', -- e70f
mac = '', -- e711
},
}
}
''
];