mirror of
https://github.com/boxpositron/absolute-vim.git
synced 2026-02-28 19:50:38 +00:00
refactor(incline.lua): improve code formatting and indentation for better readability
feat(incline.lua): add support for displaying diagnostic signs and git diff information in the incline plugin to enhance user experience
This commit is contained in:
@@ -49,11 +49,11 @@ incline.setup({
|
|||||||
return {
|
return {
|
||||||
{ get_diagnostic_label() },
|
{ get_diagnostic_label() },
|
||||||
{ get_git_diff() },
|
{ get_git_diff() },
|
||||||
ft_icon and { " ", ft_icon, " ", guibg = ft_color, guifg = helpers.contrast_color(ft_color) } or "",
|
ft_icon and { ' ', ft_icon, ' ', guibg = ft_color, guifg = helpers.contrast_color(ft_color) } or '',
|
||||||
" ",
|
' ',
|
||||||
{ filename, gui = modified and "bold,italic" or "bold" },
|
{ filename, gui = modified and 'bold,italic' or 'bold' },
|
||||||
" ",
|
' ',
|
||||||
guibg = "#44406e",
|
guibg = '#44406e',
|
||||||
}
|
}
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user