nvim: after/plugin/lualine: Move diagnostics to the right of status line
This commit is contained in:
parent
664218addb
commit
2a8dd6343a
1 changed files with 12 additions and 13 deletions
|
@ -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' }
|
||||
|
|
Loading…
Reference in a new issue