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:
David Ibia
2024-02-26 14:57:09 +01:00
parent e328a43453
commit 6fba1ca3f1

View File

@@ -49,11 +49,11 @@ incline.setup({
return {
{ get_diagnostic_label() },
{ get_git_diff() },
ft_icon and { " ", ft_icon, " ", guibg = ft_color, guifg = helpers.contrast_color(ft_color) } or "",
" ",
{ filename, gui = modified and "bold,italic" or "bold" },
" ",
guibg = "#44406e",
ft_icon and { ' ', ft_icon, ' ', guibg = ft_color, guifg = helpers.contrast_color(ft_color) } or '',
' ',
{ filename, gui = modified and 'bold,italic' or 'bold' },
' ',
guibg = '#44406e',
}
end,
})