Add different highlight color for 'diff text' (#27)

When lookin at diffs, it is very useful to not only see if a line
changed, but also have a highlight for what exactly changed within the
line.
This commit is contained in:
JSchrtke
2021-05-02 09:24:55 +02:00
committed by GitHub
parent d4bd2b389a
commit dfa4933ce2
2 changed files with 2 additions and 2 deletions

View File

@@ -39,7 +39,7 @@ function M.setup(config)
teal = "#1abc9c",
red = "#f7768e",
red1 = "#db4b4b",
diff = { change = "#394b70", add = "#164846", delete = "#823c41" },
diff = { change = "#394b70", add = "#164846", delete = "#823c41", text = '#E0AF68' },
git = { change = "#6183bb", add = "#449dab", delete = "#f7768e" },
}
if config.style == "night" or vim.o.background == "light" then colors.bg = "#1a1b26" end