summaryrefslogtreecommitdiffstats
path: root/.config
diff options
context:
space:
mode:
authorYigit Sever2022-04-01 13:33:54 +0300
committerYigit Sever2022-04-01 13:34:12 +0300
commiteb9222a29dd0e5649aaf56eb1b3bd6ff18859b1a (patch)
treed2d04dacd39b5417e02fcbfec6c428ea6b742740 /.config
parent5e7657dfff78b8afdd43a1b14120f7b0ec395f15 (diff)
downloaddotfiles-eb9222a29dd0e5649aaf56eb1b3bd6ff18859b1a.tar.gz
dotfiles-eb9222a29dd0e5649aaf56eb1b3bd6ff18859b1a.tar.bz2
dotfiles-eb9222a29dd0e5649aaf56eb1b3bd6ff18859b1a.zip
nvim: legible lualine diff colours
Diffstat (limited to '.config')
-rw-r--r--.config/nvim/lua/plugin_settings.lua12
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 }},