nvim: after/plugin/lualine: Move diagnostics to the right of status line

This commit is contained in:
Sanchayan Maity 2021-12-16 10:38:43 +05:30
parent 664218addb
commit 2a8dd6343a
1 changed files with 12 additions and 13 deletions

View File

@ -112,19 +112,6 @@ ins_left {
},
}
ins_left {
'diagnostics',
sources = { 'nvim_diagnostic' },
symbols = { error = 'E:', warn = 'W:', info = 'I:', hint = 'H:' },
diagnostics_color = {
color_error = { fg = colors.red },
color_warn = { fg = colors.yellow },
color_info = { fg = colors.cyan },
color_hint = { fg = colors.orange },
},
}
ins_left {
function()
return '%='
@ -137,6 +124,18 @@ ins_right {
color = { fg = colors.cyan, gui = 'bold' }
}
ins_right {
'diagnostics',
sources = { 'nvim_diagnostic' },
symbols = { error = 'E:', warn = 'W:', info = 'I:', hint = 'H:' },
diagnostics_color = {
color_error = { fg = colors.red },
color_warn = { fg = colors.yellow },
color_info = { fg = colors.cyan },
color_hint = { fg = colors.orange },
},
}
ins_right {
'location',
color = { fg = colors.green, gui = 'bold' }