From babc57c62b43375a7e14325c07ab3652ed118696 Mon Sep 17 00:00:00 2001 From: Charly Delay <0xcharly@users.noreply.github.com> Date: Tue, 12 Oct 2021 14:37:32 +0900 Subject: [PATCH] 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). --- lua/lualine/components/diff/init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/lualine/components/diff/init.lua b/lua/lualine/components/diff/init.lua index 0e584d1..917549c 100644 --- a/lua/lualine/components/diff/init.lua +++ b/lua/lualine/components/diff/init.lua @@ -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',