adding proper git diff support to lualine, finally :)

This commit is contained in:
JesseBot 2023-06-04 15:01:29 +02:00
parent 784bbf241e
commit 2db074e4f3
No known key found for this signature in database
GPG key ID: C01D207CE04D55D9

View file

@ -103,8 +103,16 @@ require('lualine').setup {
newfile = '🆕', -- Text to show for newly created file before first write
}
},
'branch',
'diff'
{'branch'},
{
'diff',
diff_color = {
added = 'LualineGitAdd', -- Changes the diff's added color
modified = 'LualineGitChange', -- Changes the diff's modified color
removed = 'LualineGitDelete', -- Changes the diff's removed color you
},
},
},
lualine_c = { 'fileformat' },
lualine_x = {},