mirror of
https://github.com/boxpositron/absolute-vim.git
synced 2026-02-28 11:40:36 +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 {
|
||||
{ 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,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user