diff options
author | Yigit Sever | 2022-04-01 13:33:54 +0300 |
---|---|---|
committer | Yigit Sever | 2022-04-01 13:34:12 +0300 |
commit | eb9222a29dd0e5649aaf56eb1b3bd6ff18859b1a (patch) | |
tree | d2d04dacd39b5417e02fcbfec6c428ea6b742740 | |
parent | 5e7657dfff78b8afdd43a1b14120f7b0ec395f15 (diff) | |
download | dotfiles-eb9222a29dd0e5649aaf56eb1b3bd6ff18859b1a.tar.gz dotfiles-eb9222a29dd0e5649aaf56eb1b3bd6ff18859b1a.tar.bz2 dotfiles-eb9222a29dd0e5649aaf56eb1b3bd6ff18859b1a.zip |
nvim: legible lualine diff colours
-rw-r--r-- | .config/nvim/lua/plugin_settings.lua | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/.config/nvim/lua/plugin_settings.lua b/.config/nvim/lua/plugin_settings.lua index 2b8b2a8..15381bd 100644 --- a/.config/nvim/lua/plugin_settings.lua +++ b/.config/nvim/lua/plugin_settings.lua | |||
@@ -62,7 +62,17 @@ require'lualine'.setup { | |||
62 | }, | 62 | }, |
63 | sections = { | 63 | sections = { |
64 | lualine_a = {{'mode', fmt = string.lower}}, | 64 | lualine_a = {{'mode', fmt = string.lower}}, |
65 | lualine_b = {'branch', 'diff', { | 65 | lualine_b = {'branch', |
66 | { | ||
67 | 'diff', | ||
68 | diff_color= { | ||
69 | -- Same color values as the general color option can be used here. | ||
70 | added = { fg = 'LightGreen' }, | ||
71 | modified = { fg = 'LightBlue' }, -- Changes the diff's modified color | ||
72 | removed = { fg = 'LightRed' }, -- Changes the diff's removed color you | ||
73 | } | ||
74 | }, | ||
75 | { | ||
66 | lualine_spell, | 76 | lualine_spell, |
67 | cond = conditions.spell_on, | 77 | cond = conditions.spell_on, |
68 | }}, | 78 | }}, |