mirror of
https://github.com/jessebot/dot_files.git
synced 2025-10-01 01:48:43 +00:00
adding proper git diff support to lualine, finally :)
This commit is contained in:
parent
784bbf241e
commit
2db074e4f3
1 changed files with 10 additions and 2 deletions
|
@ -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 = {},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue