fixup: fix diff component default colors (#83)
Rationalizes the default colors used by the `diff` component. These colors are based of the original fork (https://github.com/hoob3rt/lualine.nvim/blob/master/lua/lualine/components/diff.lua#L17-L21), but the assignment differs (so that added defaults to green, modified defaults to orange, and removed defaults to red).
This commit is contained in:
parent
7d15304449
commit
babc57c62b
|
@ -14,10 +14,10 @@ local default_options = {
|
|||
symbols = { added = '+', modified = '~', removed = '-' },
|
||||
diff_color = {
|
||||
added = {
|
||||
fg = modules.utils.extract_highlight_colors('DiffAdd', 'fg') or '#f0e130',
|
||||
fg = modules.utils.extract_highlight_colors('DiffAdd', 'fg') or '#90ee90',
|
||||
},
|
||||
modified = {
|
||||
fg = modules.utils.extract_highlight_colors('DiffChange', 'fg') or '#ff0038',
|
||||
fg = modules.utils.extract_highlight_colors('DiffChange', 'fg') or '#f0e130',
|
||||
},
|
||||
removed = {
|
||||
fg = modules.utils.extract_highlight_colors('DiffDelete', 'fg') or '#ff0038',
|
||||
|
|
Loading…
Reference in New Issue