summaryrefslogtreecommitdiff
path: root/lua/onedarker/diff.lua
diff options
context:
space:
mode:
authorSubho Banerjee <[email protected]>2021-09-26 02:20:50 -0500
committerGitHub <[email protected]>2021-09-26 10:50:50 +0330
commit61b56a7bb19771247fc2c40b453d0f905581125e (patch)
tree0c3c922fa28e61ea00592b019f5003f67219369b /lua/onedarker/diff.lua
parent464f092ada7b6e54f5ad65aea0ae3c1b55f618f4 (diff)
fix: Adding `Diff*` highlight groups in onedarker (#1594)
Fixes #1576
Diffstat (limited to 'lua/onedarker/diff.lua')
-rw-r--r--lua/onedarker/diff.lua12
1 files changed, 12 insertions, 0 deletions
diff --git a/lua/onedarker/diff.lua b/lua/onedarker/diff.lua
new file mode 100644
index 00000000..49463daa
--- /dev/null
+++ b/lua/onedarker/diff.lua
@@ -0,0 +1,12 @@
+local diff = {
+ DiffAdd = { fg = C.none, bg = C.diff_add },
+ DiffDelete = { fg = C.none, bg = C.diff_delete },
+ DiffChange = { fg = C.none, bg = C.diff_change, style = "bold" },
+ DiffText = { fg = C.none, bg = C.diff_text },
+ DiffAdded = { fg = C.green },
+ DiffRemoved = { fg = C.red },
+ DiffFile = { fg = C.cyan },
+ DiffIndexLine = { fg = C.gray },
+}
+
+return diff